Building GCC 4.3.2 fails

Andrew Haley aph@redhat.com
Tue Oct 7 07:43:00 GMT 2008


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?

Andrew.



More information about the Gcc-help mailing list