diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-10-22 22:26:46 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-10-22 22:26:46 +0000 |
commit | 360e2c43cd050de14a654927da9a7610af9e38ce (patch) | |
tree | fa36484dc5954a41335c6ec7ddf0b305c020129d /chapter06/adjustingtoolchain.xml | |
parent | 1612f40eb9f1b8ea766ea308e40d6b3fe14f6fc5 (diff) |
Adding some markup and doing miscellaneous shuffles.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3029 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/adjustingtoolchain.xml')
-rw-r--r-- | chapter06/adjustingtoolchain.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/adjustingtoolchain.xml b/chapter06/adjustingtoolchain.xml index f07562f9c..15630f878 100644 --- a/chapter06/adjustingtoolchain.xml +++ b/chapter06/adjustingtoolchain.xml @@ -44,7 +44,7 @@ this:</para> <screen><userinput>SPECFILE=/tools/lib/gcc-lib/*/*/specs && sed -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' \ - $SPECFILE > newspecfile && + $SPECFILE > newspecfile && mv -f newspecfile $SPECFILE && unset SPECFILE</userinput></screen> @@ -65,7 +65,7 @@ name of your platform's dynamic linker in the above commands. Refer back to basic functions (compiling and linking) of the adjusted toolchain are working as expected. For this we are going to perform a simple sanity check:</para> -<screen><userinput>echo 'main(){}' > dummy.c +<screen><userinput>echo 'main(){}' > dummy.c gcc dummy.c readelf -l a.out | grep ': /lib'</userinput></screen> |