Made extra sure that you need to cd into glibc-&glibc-version; then

unpack (when we're sure that you are in glibc-&glibc-version; then we
don't have to use the absolute patch /usr/src/glibc-build when mkdir'ing it
and cd'ing into it.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@791 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-07-11 21:36:01 +00:00
parent f8b4fad92e
commit be2942c5fa

View File

@ -2,8 +2,10 @@
<title>Installation of Glibc</title> <title>Installation of Glibc</title>
<para> <para>
Once glibc has been unpacked as usual, unpack glibc-linuxthreads inside Once glibc has been unpacked as usual and you have cd'ed into the
the glibc-&glibc-version; directory, not in /usr/src glibc-&glibc-version; directory, unpack glibc-linuxthreads inside
the glibc-&glibc-version; directory, not in /usr/src as you normally
would do.
</para> </para>
<para> <para>
@ -14,8 +16,8 @@ Install Glibc by running the following commands:
<screen> <screen>
<userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput> <userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput>
<userinput>touch /etc/ld.so.conf &amp;&amp;</userinput> <userinput>touch /etc/ld.so.conf &amp;&amp;</userinput>
<userinput>mkdir /usr/src/glibc-build &amp;&amp;</userinput> <userinput>mkdir ../glibc-build &amp;&amp;</userinput>
<userinput>cd /usr/src/glibc-build &amp;&amp;</userinput> <userinput>cd ../glibc-build &amp;&amp;</userinput>
<userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput> <userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;../glibc-&glibc-version;/malloc/Makefile &gt; tmp~ &amp;&amp;</userinput> <userinput>&nbsp;&nbsp;&nbsp;../glibc-&glibc-version;/malloc/Makefile &gt; tmp~ &amp;&amp;</userinput>
<userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &amp;&amp;</userinput> <userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &amp;&amp;</userinput>