www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/19/03:58:15

Date: Mon, 19 Oct 1998 09:56:14 +0200 (CEST)
From: Jens Meise <jens AT r1 DOT iqo DOT uni-hannover DOT de>
To: djgpp AT delorie DOT com
Subject: Re: cross compiler: crt0.o file format not recognized
In-Reply-To: <199810180028.UAA05868@indy.delorie.com>
Message-ID: <Pine.LNX.3.96.981019095152.15376A-100000@assam.fs-maphy.uni-hannover.de>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

dj,
thanx for the quick response.
it now works, i compiled it all again. 
there were some problem:
i had to copy the src and include directories to the 
cross directory. it also mixed up the gcc version numbers:
i had 2.7.2.1 as linux compiler and 2.7.2 for dos.
the dos compiler looked in a directory with 2.7.2.1 for some files.
anyway, i sorted it out.
cheers
jens

On Sat, 17 Oct 1998, DJ Delorie wrote:

> 
> >  ./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