Can not mpfr.h while cross compiling.

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

 



Hi

I'm trying to cross compile GCC
To save confusion here I mean I'm building GCC with a cross compiler
and not building GCC as a cross compiler.

I'm getting the following error while running configure:

checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.

I'm at a loss for why the mpfr.h check is failing.

I'm running configure with:
../gcc-4.3.3/configure --host=arm-none-linux-gnueabi --prefix=/built
--with-gmp=/built --with-mpfr=/built

I'm working on the assumption that this error is referring to
libraries that must be available under the host environment.
I've downloaded and built gmp-5.0.1 and mpfr-2.4.2 and installed them
to the prefix "/built".
The /built directory only contains these and binutils.

Note: "--with-gmp=/built" appears to have worked...  Without it the
gmp.h check fails.

If its relevant, I'm building with CodeSourcery 2009q3-67 for ARM GNU/Linux.

Thanks for your time.

Phil

[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