Magic number problems
Jim Santos
jsantos at bubba.ma30.bull.com
Tue Oct 30 08:01:42 AEST 1990
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 at granite.cr.bull.com
More information about the Comp.unix.sysv386
mailing list