aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/lockingglibc.xml
blob: b306398be5ff5c6d6c200e672f10fce51e4be159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<sect1 id="ch05-locking-glibc">
<title>"Locking in" Glibc</title>
<?dbhtml filename="lockingglibc.html" dir="chapter05"?>

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Binutils</title>

<para><screen><userinput>make -C ld tooldir=/stage1 install-data-local</userinput></screen></para>

<para>You can remove the binutils-* directories now.</para>

<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/*/*/specs
sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1@g' \
&nbsp;&nbsp;&nbsp;&nbsp;-e 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \
&nbsp;&nbsp;&nbsp;&nbsp;$SPECFILE > XX
mv XX $SPECFILE
unset SPECFILE</userinput></screen></para>

</sect2>

</sect1>