delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/17/13:54:28

Date: Tue, 17 Jul 2001 20:37:32 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: djgpp AT delorie DOT com
Subject: Re: Problem compiling a DJGPP gcc 3.0 cross compiler
In-Reply-To: <9iuhso$o5n$1@nets3.rz.RWTH-Aachen.DE>
Message-ID: <Pine.A41.4.05.10107172034310.27778-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On 16 Jul 2001, Hans-Bernhard Broeker wrote:

> Andrea Mazzoleni <am AT mediacom DOT it> wrote:
> > I was trying to compile a DJGPP gcc 3.0 cross compiler from linux to dos 
> > but I get this error:
> > ---------------------------------------------------------------------
> [...]
> 
> > Checking the preprocessor output I found that the problem is that 
> > the include /root/src/gccdos/i586-pc-msdosdjgpp-gcc/gcc/include/limits.h
> > is used instead of the include (from djcrx203)
> > /usr/local/gcc-3.0-i586-pc-msdosdjgpp/i586-pc-msdosdjgpp/include/limits.h
> 
> This looks like you're hitting one of the problems created by GCC-3.0,
> for the DJGPP port at large, not just for cross-compilations.  GCC
> insists on installing its own set of platform-specific headers, and
> run 'fixinclude' even on the DJGPP headers, now, although these
> headers are explicitly meant to be used by no other compiler than GCC,
> anyway.  And it can fail doing that correctly.
> -- 

Look how Makefile in directory gcc finds whether previous version
of limits.h should be used. At least if all is setup as this Makefile
"wants" and it sees limits.h in place where it expects it to see
then all build Ok. Sorry for so unclear answer but I'm rather far away
from computer I can test all on ...

Andris


- Raw text -


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