Trouble compiling gcc 4.5 and gcc 4.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux