Article View: gnu.gcc.help
Article #54335Re: Magic number problems
From: Michael Bloom
Date: Wed, 31 Oct 1990 01:16
Date: Wed, 31 Oct 1990 01:16
15 lines
1443 bytes
1443 bytes
In article <JSANTOS.90Oct29160142@bubba.ma30.bull.com> jsantos@bubba.ma30.bull.com (Jim Santos) writes: Hi, I have built gcc and gas on a 386 system running SCO Unix V3.2.1 (using the COFF patches from tut.cis.ohio-state.edu). I created a little test program just to try them out. But I get the following output: /usr/local/lib/gcc-as -C -o test.o /usr/tmp/cca02086.s ld -o test /lib/crt0.o test.o /usr/local/lib/gcc-gnulib -lc /usr/local/lib/gcc->gnulib ld crt0.o: file test.o is of unknown type: magic number = 107 The code in coff-conv.c is not being invoked, and you are getting a BSD object rather than a coff object. This is because gas has been configured to produce coff objects by default and BSD objects when passed the "-C" switch. Remove the "-C" from ASM_SPEC.
Technical Details
Message-ID:
<9010312312.AA04402@uunet.uu.net>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ttidca.tti.com!fe2o3!mbReferences:
<JSANTOS.90Oct29160142@bubba.ma30.bull.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,65add066d206f42d X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1990-10-30 17:16:18 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ttidca.tti.com!fe2o3!mb From: fe2o3!mb@ttidca.tti.com (Michael Bloom) Newsgroups: gnu.gcc.help Subject: Re: Magic number problems Message-ID: <9010312312.AA04402@uunet.uu.net> Date: 31 Oct 90 01:16:18 GMT References: <JSANTOS.90Oct29160142@bubba.ma30.bull.com> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: Citicorp/TTI, Santa Monica Lines: 15 Posted: Wed Oct 31 02:16:18 1990