From owner-freebsd-questions Tue May 4 6:44:33 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 931751576F for ; Tue, 4 May 1999 06:44:25 -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 10efUk-000KlX-0K for questions@freebsd.org; Tue, 4 May 1999 13:44:23 +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 OAA03690 for ; Tue, 4 May 1999 14:43:24 +0100 Received: from uk.radan.com by support-3.uk.radan.com (SMI-8.6/SMI-SVR4) id OAA09973; Tue, 4 May 1999 14:43:22 +0100 Message-ID: <372EF938.44B0F132@uk.radan.com> Date: Tue, 04 May 1999 14:42:16 +0100 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 4.1.3_U1 sun4m) X-Accept-Language: en-GB MIME-Version: 1.0 To: FreeBSD-questions Subject: gcc differences between aout & ELF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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). Is this behaviour to be expected? I would have thought that if using the same version then the only difference would be the type of output files. -- 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