aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/adjustingtoolchain.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/adjustingtoolchain.xml')
-rw-r--r--chapter06/adjustingtoolchain.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter06/adjustingtoolchain.xml b/chapter06/adjustingtoolchain.xml
new file mode 100644
index 000000000..c269e57ff
--- /dev/null
+++ b/chapter06/adjustingtoolchain.xml
@@ -0,0 +1,14 @@
+<sect1 id="ch06-adjustingtoolchain">
+<title>Adjusting toolchain</title>
+<?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/i686-pc-linux-gnu/*/specs &&
+cp ${SPECFILE} ./XX &&
+sed 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
+unset SPECFILE &&
+rm -f ./XX</userinput></screen></para>
+
+</sect1>
+