Xref: utzoo gnu.gcc.help:76 comp.unix.sysv386:1669 Path: utzoo!attcan!uunet!shelby!apple!bbn.com!mips2!bubba!jsantos From: jsantos@bubba.ma30.bull.com (Jim Santos) Newsgroups: gnu.gcc.help,comp.unix.sysv386 Subject: Magic number problem Message-ID: Date: 30 Oct 90 14:12:31 GMT Sender: news@mips2.cr.bull.com (Usenet News Manager) Organization: Bull HN, Worldwide Information Systems, Billerica, Mass., USA Lines: 28 Hi, I have built gcc 1.37 and gas 1.36 on my 386 running SCO Unix 3.2.1, using the COFF patches from tut.cis.ohio-state.edu. When I try to compile a test program, I get the following: $ 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/cca03324.cpp GNU CPP version 1.37 /usr/local/lib/gcc-cc1 /usr/tmp/cca03324.cpp -quiet -dumpbase test.c -version - o /usr/tmp/cca03324.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/cca03324.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 According to the man page for ar, the magic number for this system is 0xff65. How do I make gas believe this, though? Please respond via email. ------------------------- Jim Santos Bull Worldwide Information Systems santos@granite.cr.bull.com