From: Jens Meise Newsgroups: comp.os.msdos.djgpp Subject: cross compiler: crt0.o file format not recognized Date: Sun, 18 Oct 1998 01:44:13 +0200 Organization: RRZN - Newsserver Lines: 25 Message-ID: NNTP-Posting-Host: r1.iqo.uni-hannover.de Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com i just compiled the cross compiler for linux and can't compile my hello world program. what's wrong with crt0.o? ./dos-gcc -v tes.c gcc version 2.7.2 cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) tes.c /tmp/cca00249.i GNU CPP version 2.7.2.1 (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/i486-linux/include /usr/lib/gcc-lib/i486-linux/2.7.2.1/include /usr/include End of search list. cc1 /tmp/cca00249.i -quiet -dumpbase tes.c -version -o /tmp/cca00249.s GNU C version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2.1. as -o /tmp/cca002491.o /tmp/cca00249.s ld crt0.o /tmp/cca002491.o -lgcc -lc -lgcc crt0.o: file not recognized: File format not recognized