Article View: gnu.gcc.help
Article #54336Re: Magic number problems
From: Michael Bloom
Date: Wed, 31 Oct 1990 01:16
Date: Wed, 31 Oct 1990 01:16
15 lines
1536 bytes
1536 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:
<20897@ttidca.TTI.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!wuarchive!rice!uupsi!psivax!ttidca!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-Thread: 1048e3,7e346e483295f488 X-Google-Attributes: gid1048e3,public X-Google-ArrivalTime: 1990-10-30 17:16:18 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!wuarchive!rice!uupsi!psivax!ttidca!mb From: mb@ttidca.TTI.COM (Michael Bloom) Newsgroups: gnu.gcc.help,comp.unix.sysv386 Subject: Re: Magic number problems Message-ID: <20897@ttidca.TTI.COM> Date: 31 Oct 90 01:16:18 GMT References: <JSANTOS.90Oct29160142@bubba.ma30.bull.com> Organization: Citicorp/TTI, Santa Monica Lines: 15 Posted: Wed Oct 31 02:16:18 1990