building gcc 2.95.2 - genattrtab.c - INT_MAX undeclared - help!
Jeff Dickens
jdickens@ersi.com
Fri Dec 3 08:10:00 GMT 1999
I'm building gcc 2.95.2 on NCR System V MP-RAS V3.02.
I'm using the NCR c compiler to build gcc:
NCR High Performance C Compiler R3.0c
I soft-linked in all the binutils components, and building those seemed to
go fine.
Then when it went on to compiling gcc, it failed on genattrtab.c:
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../gcc-2.95.2/gcc -I../.
./gc
c-2.95.2/gcc/config -I../../gcc-2.95.2/gcc/../include
../../gcc-2.95.2/gcc/genat
trtab.c
.
.
E "../../gcc-2.95.2/gcc/genattrtab.c",L4733/C21(#237): INT_MAX: Identifier
is u
ndeclared.
.
.
1 user error 192 warnings
make[2]: *** [genattrtab.o] Error 1
make[2]: Leaving directory `/build1/ersbuild/src/gcc-2.95.2-build/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/build1/ersbuild/src/gcc-2.95.2-build/gcc'
make: *** [bootstrap] Error 2
(I removed the 192 warnings to improve readability)
INT_MAX is defined in /usr/include/limits.h. Why would't it find that ?
thanks...
More information about the Gcc-help
mailing list