Date: Thu, 13 May 1999 14:54:58 +0100 From: Mark Ovens <marko@uk.radan.com> To: Patrick Murphy <murphyp1@voyager.ais.msu.edu> Cc: Doug White <dwhite@resnet.uoregon.edu>, freebsd-questions@freebsd.org Subject: Re: link bad magic aout Message-ID: <373AD9B2.376904A9@uk.radan.com> References: <Pine.BSF.4.05.9905130916260.13320-100000@voyager.ais.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?373AD9B2.376904A9>