This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/49502] Unable to build gcc with gmp/mpc/mpfr in its tree and flag "--enable-cxx"
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Jun 2011 13:58:57 +0000
- Subject: [Bug bootstrap/49502] Unable to build gcc with gmp/mpc/mpfr in its tree and flag "--enable-cxx"
- Auto-submitted: auto-generated
- References: <bug-49502-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49502
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-23 13:58:41 UTC ---
(In reply to comment #2)
> 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.
I don't know where that message came from, because --enable-cxx is not a gcc
configure option, see http://gcc.gnu.org/install/configure.html
> So I obeyed then. I expected it would generate the proper files needed for a
> C++ binding to gmp.
GCC doesn't need a C++ binding to GMP.
> 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).
cloog and ppl are optional, if you can't get it to build with them why not try
without them?