Trouble compiling gcc 4.5 and gcc 4.6
Jens Bauer
jens@bruger.mine.nu
Mon Mar 12 20:47:00 GMT 2012
Hi all,
Just to let you know, in case you run into the same problems.
I just tried compiling gcc with gmp-5.0.4, mpfr-3.1.0 and mpc-0.9 (because why not use the newest libraries, when we're doing a new compile anyway ?)
I kept getting this error...
configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/time.h: proceeding with the compiler's result
configure: error: libmpfr not found or uses a different ABI.
make[2]: *** [configure-stage1-mpc] Error 1
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
-After much messing around and many retries, I decided to change version numbers back to gmp-5.0.1 and mpfr-3.0.1, and now it seems both gcc 4.5 and 4.6 compiles.
I believe it's mpfr-3.1.0 (I could be wrong, but that's my best guess, as the minor-version is updated, while only gmp's bugfix version updated, furthermore, the 'libmpfr' points at mpfr, not gmp).
-I hope this will help someone to skip a few hours or days of work.
Love,
Jens
More information about the Gcc-help
mailing list