diff options
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> |