From owner-freebsd-questions Tue May 4 16: 4:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id 9E77B15B56 for ; Tue, 4 May 1999 16:03:40 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by tele-post-20.mail.demon.net with smtp (Exim 2.12 #2) id 10eoDZ-000P11-0K; Tue, 4 May 1999 23:03:14 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from support-3.uk.radan.com (support-3 [193.114.228.220]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id AAA00367; Wed, 5 May 1999 00:02:42 +0100 Received: from marder-1. by support-3.uk.radan.com (SMI-8.6/SMI-SVR4) id XAA17828; Tue, 4 May 1999 23:51:45 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id XAA00569; Tue, 4 May 1999 23:51:47 +0100 (BST) (envelope-from marko) Date: Tue, 4 May 1999 23:51:46 +0100 From: Mark Ovens To: Doug White Cc: FreeBSD-questions Subject: Re: gcc differences between aout & ELF Message-ID: <19990504235146.D419@marder-1> References: <372EF938.44B0F132@uk.radan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Doug White on Tue, May 04, 1999 at 03:40:36PM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, May 04, 1999 at 03:40:36PM -0700, Doug White wrote: > 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. > Yes, I know. It's mainly the xview libs that are missing (not part of the base dist. or the 2.2 compat stuff) that is why I decided to re-compile it all as ELF. I'm just interested as to why the same version of gcc should, seemingly behave differently under 2.2.8 and 3.1 > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org > > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message