diff options
-rw-r--r-- | bootstrap-system-build-procedure.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap-system-build-procedure.txt b/bootstrap-system-build-procedure.txt index 9844385..5eb82aa 100644 --- a/bootstrap-system-build-procedure.txt +++ b/bootstrap-system-build-procedure.txt @@ -140,3 +140,12 @@ everything works. $ ${BBLL_TARGET}-gcc -B/tools/usr/lib test.c $ readelf -l a.out | grep ': /tools/usr' $ rm -v test.c a.out + +Cross-compile a native GNU Binutils. + $ mkdir -v binutils-build + $ cd binutils-build + $ CC="${BBLL_TARGET}-gcc -B/tools/usr/lib" AR=${BBLL_TARGET}-ar \ + > RANLIB=${BBLL_TARGET}-ranlib ../binutils-2.22/configure \ + > --prefix=/tools/usr --disable-nls --with-lib-path=/tools/usr/lib + $ make -j 4 + $ make install |