From owner-freebsd-questions Tue May 4 15:42:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id F016014D45 for ; Tue, 4 May 1999 15:42:31 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id PAA00757; Tue, 4 May 1999 15:40:36 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 4 May 1999 15:40:36 -0700 (PDT) From: Doug White To: Mark Ovens Cc: FreeBSD-questions Subject: Re: gcc differences between aout & ELF In-Reply-To: <372EF938.44B0F132@uk.radan.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 4 May 1999, Mark Ovens wrote: > Should I expect there to be any differences between the same version > of gcc under 2.2.8 and 3.1, other than one outputting aout files and > the other outputting ELF?. > > I have a (large) program that compiled and linked fine using gcc 2.8.1 > (*not* the standard gcc used for building the system). After u/g to > 3.1 this program wouldn't run as some of the required aout libs are > not installed. I installed gcc-2.8.1 from the packages on the 3.1 CD > and recompiled my program but I get errors, mainly from the linker > (undefined symbols etc). We had to move the a.out libraries to another area and set up ldconfig to cache them independently. If you didn't install the 2.2 compatibility distribution then you're missing those libraries. The libs should be in /lib-path/aout. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message