[Bug bootstrap/49502] Unable to build gcc with gmp/mpc/mpfr in its tree and flag "--enable-cxx"

franck.z.bugzilla at orange dot fr gcc-bugzilla@gcc.gnu.org
Thu Jun 23 12:03:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49502

--- Comment #2 from Franck Z <franck.z.bugzilla at orange dot fr> 2011-06-23 12:03:31 UTC ---
Several weeks ago, with the trunk, and gmp/mpc/mpfr/ppl/cloog-ppl in the gcc
source root tree, a "configure" then "make" sequence without options was
stopped because one of the configuration checkings launched by "make" would
fail when checking for the right version of gmp.

Namely, the gmpxx.h file was said to be missing. Along with this error message,
came a reminder not to forget to use "--enable-cxx" flag when configuring gcc.

So I obeyed then. I expected it would generate the proper files needed for a
C++ binding to gmp. However, I was stalled later in the compilation by the
issue of this PR. I ended up with relying on the compiled libs provided with
the Cygwin package. I once managed to end a stage-1 compilation of gcc, but a
subsequent "svn update" from the trunk lead to new build issues.

I would leave my attempts with gcc for 3-4 weeks. Now, with a newer "svn
update" of the trunk (one-two weeks old), stage-1 compilation still doesn't
end.

I try now with gcc 4.6.0. If it fails, I'll fall back to older releases of gcc.

As long as the bootstrap ends, it's enough for my needs for now. I just aim at
trying to outline a "intelligent agent" layer in the source of gcc, so as to
improve disk use and opt out duplicate compilations during a make session. So,
I don't have any specific need for "--enable-cxx". I was just believing to do
the right thing.

Unfortunately, I may have lost track of which "configure" script was needing
gmpxx.h. My ppl/cloog-ppl libs were compliant with those advised in the
pre-requisites (0.11.2 and 0.15.10).

Thank you for any help with my configuration.



More information about the Gcc-bugs mailing list