delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/17/20:28:46

Date: Sat, 17 Oct 1998 20:28:27 -0400 (EDT)
Message-Id: <199810180028.UAA05868@indy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to:
<Pine DOT LNX DOT 3 DOT 96 DOT 981018013919 DOT 10198A-100000 AT assam DOT fs-maphy DOT uni-hannover DOT de>
(message from Jens Meise on Sun, 18 Oct 1998 01:44:13 +0200)
Subject: Re: cross compiler: crt0.o file format not recognized
Reply-To: djgpp AT delorie DOT com

>  ./dos-gcc -v tes.c  
> gcc version 2.7.2
>  cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386
>  cc1 /tmp/cca00249.i -quiet -dumpbase tes.c -version -o /tmp/cca00249.s
>  as -o /tmp/cca002491.o /tmp/cca00249.s
>  ld crt0.o /tmp/cca002491.o -lgcc -lc -lgcc

This shows that it's using the linux native compiler instead of the
cross compiler, which is usually i586-pc-msdosdjgpp-cpp etc.  Did you
install the compiler before trying to use it?  Did you install a
cross-binutils?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019