From owner-freebsd-questions Thu May 13 6:57:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id 019D714F98 for ; Thu, 13 May 1999 06:57:08 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-12.mail.demon.net with smtp (Exim 2.12 #1) id 10hvys-000EZt-0C; Thu, 13 May 1999 13:56:59 +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 OAA03890; Thu, 13 May 1999 14:56:14 +0100 Received: from uk.radan.com by support-3.uk.radan.com (SMI-8.6/SMI-SVR4) id OAA14162; Thu, 13 May 1999 14:56:12 +0100 Message-ID: <373AD9B2.376904A9@uk.radan.com> Date: Thu, 13 May 1999 14:54:58 +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: Patrick Murphy Cc: Doug White , freebsd-questions@freebsd.org Subject: Re: link bad magic aout References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Patrick Murphy wrote: > > Yes I do. I was wrong on the compiler though, I am using > the stock gcc 2.7.2.1 that came with 3.1-RELEASE. I am > able to run interbase and netscape which are both aout > executables. > > On Wed, 12 May 1999, Doug White wrote: > > > On Tue, 11 May 1999, Patrick Murphy wrote: > > > > > > > > I am trying to build an aout executable using the -aout > > > option of the gcc 2.8.1 compiler. I am getting a "bad > > > magic" error on the libgcc.a library. The actual command > > > and message are: > > > > > > cc -o d20upd01 -g -aout d20upd01.o d20misc.o d20trmio.o -lgds > > > -L/usr/interbase/lib/ ld: /usr/lib/libgcc.a(): bad magic *** Error > > > code 1 > > > Is /usr/lib/libgcc.a not the default lib, i.e. ELF? I would expect the aout version to be in /usr/lib/aout or /usr/lib/compat/aout (I'm at work now so I can't check). > > > This is my first attempt at building an aout executable > > > on FreeBSD 3.1. I must use a.out support since the > > > interbase sql db is a.out only at this point. > > > > > > > Do you have the compat22 distribution installed? > > > > 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 -- 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