Andrew Haley wrote: > Angel Tsankov wrote: > >> I'm trying to build GCC 4.3.2 (core, c++, and fortran). The >> configuration step (configure --prefix=...) seems to complete without >> problems, but during the build step (make -j 2 bootstrap) I get the >> following on stderr: >> >> configure: error: >> *** LIBRARY_PATH shouldn't contain the current directory when >> *** building gcc. Please change the environment variable >> *** and run configure again. >> >> LIBRARY_PATH contains the paths to GMP 4.2.1 and to MPFR2.3.0 only. I >> found out that clearing LIBRARY_PATH just before the build step >> takes me to another error: >> >> /home/angel/software/gcc/source/unpacked/gcc/dbgcnt.def:67: error: >> 'UINT_MAX' undeclared here (not in a function) >> >> Can any one help me build this version of GCC? I'm configuring and >> building in a separate directory and I've attached the console output >> from the configuration step in case it might help. > > UINT_MAX should be defined in limits.h. > > Are you sure that it's installed? > OK, I put /usr/include to CPATH, C_INCLUDE_PATH and to CPLUS_INCLUDE_PATH but I still get the above error message. limits.h is in /usr/include and it does contain a definition for UINT_MAX. Any other ideas?