Article View: gnu.gcc.help
Article #430Magic number problems
From: Jim Santos
Date: Mon, 29 Oct 1990 21:01
Date: Mon, 29 Oct 1990 21:01
30 lines
1694 bytes
1694 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:
<JSANTOS.90Oct29160142@bubba.ma30.bull.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!emory!wuarchive!mit-eddie!bbn.com!mips2!bubba!jsantosShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!emory!wuarchive!mit-eddie!bbn.com!mips2!bubba!jsantos From: jsantos@bubba.ma30.bull.com (Jim Santos) Newsgroups: gnu.gcc.help,comp.unix.sysv386 Subject: Magic number problems Message-ID: <JSANTOS.90Oct29160142@bubba.ma30.bull.com> Date: 29 Oct 90 21:01:42 GMT Sender: news@mips2.cr.bull.com (Usenet News Manager) Organization: Bull HN, Worldwide Information Systems, Billerica, Mass., USA Lines: 30