|
@@ -39,7 +39,7 @@ to the new dynamic linker. A simple sed script will accomplish this:</para>
|
|
|
|
|
|
<!-- Ampersands are needed to allow cut and paste -->
|
|
<!-- Ampersands are needed to allow cut and paste -->
|
|
|
|
|
|
-<screen><userinput>SPECFILE=/tools/lib/gcc/*/*/specs &&
|
|
|
|
|
|
+<screen><userinput>SPECFILE=`gcc --print-file 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 &&
|
|
$SPECFILE > tempspecfile &&
|
|
mv -f tempspecfile $SPECFILE &&
|
|
mv -f tempspecfile $SPECFILE &&
|