[lfs-support] GCC-4.7.1-Pass 2 MPC configure fails

William Harrington berzerkula at cox.net
Wed Sep 19 03:44:45 PDT 2012


On Sep 19, 2012, at 00:14 AM, Whitequill Riclo wrote:

> It appears to be looking for 'mpfr.h', which of course has not been  
> built yet.
> http://pastebin.com/UZWSpTci
>
> This bugs me.
> I checked the link, and mpfr is never made so there isn't anything  
> in the build directory, and the path is correct and goes to mpfr  
> 3.0.1 source code. I tried --with-mpfr-lib  instead of, --with-mpfr- 
> include, which didn't do anything different; and I'm not sure how  
> to build conftest on its own either.

Hello,

Sometimes you can't build mpfr mpc and gmp within the gcc source tree  
for some targets. We found that out in CLFS. That's we we don't build  
gmp mpc and mpfr within the tree. Works okay for x86 and x86_64,  
however, when you start building for other targets, it becomes hairy.  
You may want to try to build gmp mpfr and mpc separately.

Sincerely,

William Harrington



More information about the lfs-support mailing list