Mail Archives: djgpp/2001/07/16/07:15:07
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 -