This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc compilation error, INT_MAX undeclared in genattrtab.c


1) I am trying to build gcc-2.95.2 on a Red Hat Linux 6.1 system, Intel Celeron, with the following software:
Linux 2.2.12-20
Current compiler: gcc version egcs-2.91.66 (egcs-1.1.2-24 )
glibc 2.1.2
binutils-2.9.1.0.23
make-3.77-6
 
2) While executing "make bootstrap"  I get an error message stating that INT_MAX is undeclared in function genattrtab.c (and it is undeclared).
 
3) Before getting to 2) I had used: (got the full-distribution gcc source directly from gnu.org)
# cd objdir
# srcdir/configure --with-gnu-as --with-gnu-ld --enable-threads --enable-version-specific-runtime-libs
 
where srcdir=/usr/src/gcc-2.95.2
         objdir=/usr/local/gccbuild/gcc
 
Configure did not produce any error.
 
4) Issuing 'gcc -v' now gives:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
( and version info as in 2)
 
Please let me know how to successfully finish this build. Tnanks in advance!
 
Sincerely,
Alonso Rhenals
 
 
Please reply to: rhenals@ieee.org

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]