|
@@ -29,11 +29,13 @@ Binutils build and source directories.</para>
|
|
|
|
|
|
<para>The next thing to do is to amend our GCC specs file so that it points
|
|
<para>The next thing to do is to amend our GCC specs file so that it points
|
|
to the new dynamic linker. A simple sed will accomplish this:</para>
|
|
to the new dynamic linker. A simple sed will accomplish this:</para>
|
|
|
|
+
|
|
|
|
+<!-- Ampersands are needed to allow cut and paste -->
|
|
|
|
|
|
-<screen><userinput>SPECFILE=/tools/lib/gcc-lib/*/*/specs
|
|
|
|
|
|
+<screen><userinput>SPECFILE=/tools/lib/gcc-lib/*/*/specs &&
|
|
sed -e 's@/lib/ld-linux.so.2@/tools/lib/ld-linux.so.2@g' \
|
|
sed -e 's@/lib/ld-linux.so.2@/tools/lib/ld-linux.so.2@g' \
|
|
- $SPECFILE > tempspecfile
|
|
|
|
-mv tempspecfile $SPECFILE
|
|
|
|
|
|
+ $SPECFILE > tempspecfile &&
|
|
|
|
+mv -f tempspecfile $SPECFILE &&
|
|
unset SPECFILE</userinput></screen>
|
|
unset SPECFILE</userinput></screen>
|
|
|
|
|
|
<para>We recommend that you cut-and-paste the above rather than try and type it
|
|
<para>We recommend that you cut-and-paste the above rather than try and type it
|