Failure to build GCC 4.3.2: HAVE_LIMITS_H not defined
Angel Tsankov
fn42551@fmi.uni-sofia.bg
Tue Oct 28 03:49:00 GMT 2008
Hi,
I'm trying to build GCC 4.3.2. Having successfully configured it, I
tried to build it by executing `env LIBRARY_PATH= make -j 2 bootstrap`
and I got the following:
[...]
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-fno-common -DHAVE_CONFIG_H -I. -I. -I../../source/unpacked/gcc -I../../source/unpacked/gcc/.
-I../../source/unpacked/gcc/../include -I../../source/unpacked/gcc/../libcpp/include
-I/home/angel/installed/gmp/include -I/home/angel/installed/mpfr/include
-I../../source/unpacked/gcc/../libdecnumber -I../../source/unpacked/gcc/../libdecnumber/dpd
-I../libdecnumber ../../source/unpacked/gcc/dbgcnt.c -o dbgcnt.o
In file included from ../../source/unpacked/gcc/dbgcnt.c:45:
../../source/unpacked/gcc/dbgcnt.def:67: error: 'UINT_MAX' undeclared
here (not in a function)
I checked that limits.h exists, but for some reason -DHAVE_LIMITS_H is
not passed to gcc. If I retry the above compile with this option added,
the compile succeeds. What might be wrong here?
Regards,
Angel Tsankov
More information about the Gcc-help
mailing list