diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/adjustingtoolchain.xml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/chapter06/adjustingtoolchain.xml b/chapter06/adjustingtoolchain.xml index 78de9e897..7add84c7f 100644 --- a/chapter06/adjustingtoolchain.xml +++ b/chapter06/adjustingtoolchain.xml @@ -3,12 +3,11 @@ <?dbhtml filename="adjustingtoolchain.html" dir="chapter06"?> <para><screen><userinput>cd binutils-build -make -C ld INSTALL=/stage1/bin/install install-data-local -SPECFILE=/stage1/lib/gcc-lib/*/*/specs -sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1@g' \ - -e -'s@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \ - $SPECFILE > XX +make -C ld tooldir=/stage1 INSTALL=/stage1/bin/install install-data-local + +SPECFILE=/stage1/lib/gcc-lib/*/*/specs && +sed -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1@g' \ + -e 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' $SPECFILE > XX mv XX $SPECFILE unset SPECFILE</userinput></screen></para> |