delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/16/07:15:07

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem compiling a DJGPP gcc 3.0 cross compiler
Date: 16 Jul 2001 11:07:04 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 20
Message-ID: <9iuhso$o5n$1@nets3.rz.RWTH-Aachen.DE>
References: <20010715201335 DOT A3166 AT mediacom DOT it>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 995281624 24759 137.226.32.75 (16 Jul 2001 11:07:04 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 16 Jul 2001 11:07:04 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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