mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
made adjusting specs file architecture independant
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2548 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
243d49acd6
commit
585ce086da
@ -63,6 +63,12 @@
|
||||
</itemizedlist>
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>May 10th, 2003 [gerard]: Chapter 06 - Adjusting toolchain:
|
||||
Made it more architecture independant.</para></listitem>
|
||||
|
||||
<listitem><para>May 10th, 2003 [gerard]: Chapter 05 - Locking in Glibc:
|
||||
Made it more architecture independant.</para></listitem>
|
||||
|
||||
<listitem><para>May 7th, 2003 [gerard]: Removed GCC No Debug patches. No
|
||||
longer assume gcc-core and gcc-g++ packages are downloaded, so added
|
||||
appropriate --enable-languages options.</para></listitem>
|
||||
|
@ -11,11 +11,12 @@
|
||||
|
||||
<para>You can remove the binutils-* directories now.</para>
|
||||
|
||||
<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
|
||||
cp ${SPECFILE} ./XX &&
|
||||
sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
|
||||
unset SPECFILE &&
|
||||
rm -f ./XX</userinput></screen></para>
|
||||
<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/*/*/specs
|
||||
sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1@g' \
|
||||
-e 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \
|
||||
$SPECFILE > XX
|
||||
mv XX $SPECFILE
|
||||
unset SPECFILE</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -4,11 +4,13 @@
|
||||
|
||||
<para><screen><userinput>cd binutils-build
|
||||
make -C ld INSTALL=/stage1/bin/install install-data-local
|
||||
SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
|
||||
cp ${SPECFILE} ./XX &&
|
||||
sed 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &&
|
||||
unset SPECFILE &&
|
||||
rm -f ./XX</userinput></screen></para>
|
||||
SPECFILE=/stage1/lib/gcc-lib/*/*/specs
|
||||
sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1@g' \
|
||||
-e
|
||||
's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \
|
||||
$SPECFILE > XX
|
||||
mv XX $SPECFILE
|
||||
unset SPECFILE</userinput></screen></para>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user