From owner-freebsd-small Sat Oct 9 14:21: 3 1999 Delivered-To: freebsd-small@freebsd.org Received: from freja.webgiro.com (freja.webgiro.com [212.209.29.10]) by hub.freebsd.org (Postfix) with ESMTP id 94E3A154B2 for ; Sat, 9 Oct 1999 14:20:46 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by freja.webgiro.com (Postfix, from userid 1001) id D11031925; Sat, 9 Oct 1999 23:20:35 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by freja.webgiro.com (Postfix) with ESMTP id CE11649CF; Sat, 9 Oct 1999 23:20:35 +0200 (CEST) Date: Sat, 9 Oct 1999 23:20:35 +0200 (CEST) From: Andrzej Bialecki To: Jake Curry Cc: freebsd-small@freebsd.org Subject: Re: debugging crunched programs In-Reply-To: <19991009211209.3868.rocketmail@web608.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 9 Oct 1999, Jake Curry wrote: > --- Andrzej Bialecki wrote: > > Erm, well... Have you heard of static binaries? :-) > > Heh... I had a feeling that's what it was. After a nice long nap, I > tried running a non-crunched and statically linked altqd and it worked > perfectly. I'm still not sure why the crunched version wouldn't work. > Once I get the floppy-based version working well enough to completely > replace the regular FreeBSD install on the router's hard disk, I'll try > out your suggestions for debugging crunched programs and see if I can > figure out why. Thanks! crunchgen uses static libraries (*.a, not *.so.*), but when you run your normal dynamic binaries, you use shared libs. Perhaps the linker used older (or incompatible) version of some *.a lib when creating the crunch? Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message