summaryrefslogtreecommitdiffstats
path: root/temporary-bootstrap-builder-setup.txt
diff options
context:
space:
mode:
Diffstat (limited to 'temporary-bootstrap-builder-setup.txt')
-rw-r--r--temporary-bootstrap-builder-setup.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/temporary-bootstrap-builder-setup.txt b/temporary-bootstrap-builder-setup.txt
index c9c7677..e5009ac 100644
--- a/temporary-bootstrap-builder-setup.txt
+++ b/temporary-bootstrap-builder-setup.txt
@@ -164,6 +164,17 @@ Install MPFR for use by the cross-compiling GCC build.
$ cd ..
$ rm -Rf mpfr-3.1.0
+Install MPC for use by the cross-compiling GCC build.
+ $ cp -pR ${BBL}/../../src/mpc-0.9 .
+ $ cd mpc-0.9
+ $ LDFLAGS="-Wl,-rpath,${BBL}/cross-tools/lib" ./configure \
+ > --prefix=${BBL}/cross-tools --with-mpfr=${BBL}/cross-tools \
+ > --with-gmp=${BBL}/cross-tools
+ $ make
+ $ make install
+ $ cd ..
+ $ rm -Rf mpc-0.9
+
Configure and build a cross-compiling GNU Binutils.
$ cp -pR ${BBL}/../../src/binutils-2.22 .
$ mkdir binutils-build