🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54323

Magic number problems

#54323
From: Jim Santos
Date: Mon, 29 Oct 1990 21:01
30 lines
1874 bytes
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:

$ gcc -v test.c -o test
gcc version 1.37
 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dunix -Di386 -D__unix__ -D__i386__
 test.c /usr/tmp/cca02086.cpp
GNU CPP version 1.37
 /usr/local/lib/gcc-cc1 /usr/tmp/cca02086.cpp -quiet -dumpbase test.c -version -
o /usr/tmp/cca02086.s
GNU C version 1.37 (80386, BSD syntax) compiled by GNU C version 1.37.1.
default target switches: -m80387
 /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

What do I need to do so that it uses the correct 'magic number'?  I
looked in the module 'coff-conv.c' where it seems to define the magic
number, but changing it there didn't seem to do me any good.  I cannot
figure out where it is coming up with '107'.  Any help would be
greatly appreciated.  Please respond via email.

__________
Jim Santos
Bull Worldwide Information Systems
santos@granite.cr.bull.com
Technical Details
Message-ID: <9010300801.AA19897@uunet.uu.net>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!BUBBA.MA30.BULL.COM!fe2o3!jsantos

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,65add066d206f42d,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1990-10-29 13:01:42 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!BUBBA.MA30.BULL.COM!fe2o3!jsantos
From: fe2o3!jsantos@BUBBA.MA30.BULL.COM (Jim Santos)
Newsgroups: gnu.gcc.help
Subject: Magic number problems
Message-ID: <9010300801.AA19897@uunet.uu.net>
Date: 29 Oct 90 21:01:42 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Bull HN, Worldwide Information Systems, Billerica, Mass., USA
Lines: 30
Posted: Mon Oct 29 22:01:42 1990