binutils:

- add support for gmp and mpfr
This commit is contained in:
Stephan Raue 2009-12-13 23:03:22 +01:00
parent 0b5ae8456a
commit 9640a37929

View File

@ -3,6 +3,9 @@
. config/options
$SCRIPTS/install ccache
$SCRIPTS/install linux-headers
$SCRIPTS/build gmp
$SCRIPTS/build mpfr
if [ $TARGET_ARCH = "x86_64" -o $TARGET_ARCH = "powerpc64" ]; then
WITH_64B_BFD="--enable-64-bit-bfd"
@ -18,9 +21,14 @@ cd objdir
--target=$TARGET_NAME \
--prefix=$ROOT/$TOOLCHAIN \
--with-sysroot=$SYSROOT_PREFIX \
--with-gmp=$ROOT/$TOOLCHAIN \
--with-mpfr=$ROOT/$TOOLCHAIN \
--disable-werror \
--disable-multilib \
$WITH_64B_BFD \
--disable-nls
make configure-host
make
cp -v ../include/libiberty.h $SYSROOT_PREFIX/usr/include