mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
Use "gcc --print-file specs" to determine the location of the specs file
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3761 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
71bbe67154
commit
9109cd46dd
@ -104,6 +104,10 @@ first a summary, then a detailed log.</para>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>June 7, 2004 [winkie]: Use the
|
||||
<quote>gcc --print-file specs</quote> command to determine the location of the
|
||||
<quote>specs</quote> file.</para></listitem>
|
||||
|
||||
<listitem><para>June 7, 2004 [winkie]: Updated patch names to match those used
|
||||
by the patches project.</para></listitem>
|
||||
|
||||
|
@ -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 -->
|
||||
|
||||
<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' \
|
||||
$SPECFILE > tempspecfile &&
|
||||
mv -f tempspecfile $SPECFILE &&
|
||||
|
@ -52,7 +52,7 @@ this:</para>
|
||||
|
||||
<!-- 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@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g' \
|
||||
$SPECFILE > newspecfile &&
|
||||
mv -f newspecfile $SPECFILE &&
|
||||
|
Loading…
Reference in New Issue
Block a user