From owner-freebsd-questions Thu May 13 6:22:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from voyager.ais.msu.edu (voyager.ais.msu.edu [35.8.112.154]) by hub.freebsd.org (Postfix) with ESMTP id 6EACB14DB3 for ; Thu, 13 May 1999 06:22:38 -0700 (PDT) (envelope-from murphyp1@voyager.ais.msu.edu) Received: from localhost (murphyp1@localhost) by voyager.ais.msu.edu (8.9.2/8.8.7) with ESMTP id JAA13453; Thu, 13 May 1999 09:22:36 -0400 (EDT) (envelope-from murphyp1@voyager.ais.msu.edu) Date: Thu, 13 May 1999 09:22:36 -0400 (EDT) From: Patrick Murphy To: Doug White Cc: freebsd-questions@FreeBSD.ORG Subject: Re: link bad magic aout In-Reply-To: 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 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 > > > > 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