aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc-inst.sgml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-01-27 01:16:17 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-01-27 01:16:17 +0000
commit81797d0acbeaf9fb70542aad70c1959e7baf5c16 (patch)
tree1890b80df730f58d8b5f6c2acc4ea57b923a922a /chapter05/glibc-inst.sgml
parenta35e5d44499e3a1bdf44dbafc2396321534d775a (diff)
Removed the installation of a "local gcc"
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@43 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc-inst.sgml')
-rw-r--r--chapter05/glibc-inst.sgml62
1 files changed, 9 insertions, 53 deletions
diff --git a/chapter05/glibc-inst.sgml b/chapter05/glibc-inst.sgml
index bf50f9e89..e261844d7 100644
--- a/chapter05/glibc-inst.sgml
+++ b/chapter05/glibc-inst.sgml
@@ -3,7 +3,7 @@
<para>
Unpack the glibc-crypt and glibc-linuxthreads in the glibc-2.1.3
-directory, not in $LFS/usr/src. Don't enter the created directories. Just
+directory, not in /usr/src. Don't enter the created directories. Just
unpack them and leave it with that.
</para>
@@ -18,8 +18,8 @@ with:
<blockquote><literallayout>
- <userinput>mkdir $LFS/usr/src/glibc-build &amp;&amp;</userinput>
- <userinput>cd $LFS/usr/src/glibc-build</userinput>
+ <userinput>mkdir /usr/src/glibc-build &amp;&amp;</userinput>
+ <userinput>cd /usr/src/glibc-build</userinput>
</literallayout></blockquote>
@@ -42,34 +42,15 @@ sysconfdir=/etc
</literallayout>
<para>
-Before we actually install Glibc you need to unpack the Glibc patch
-file.
-</para>
-
-<para>
-Please note that the configure script of Glibc may complain about
-certain files in the /usr/include directory being too old and will be
-replaced, or that some symlink is not supposed to be there anymore (like
-the /usr/include/scsi symlink that's present on older Linux systems). If
-it asks you to move a symlink like scsi out of the way, please do so. If
-it says it will replace old files by the newer Glibc files you can
-ignore that. Glibc does not know that it will end up on $LFS when the
-configure script is run.
-</para>
-
-<para>
-If your system had already a suitable GCC version installed, change to the
+Change to the
<filename class="directory">$LFS/usr/src/glibc-build</filename>
-directory and install Glibc by running the following
-commands:
+directory and install Glibc by running the following commands:
</para>
<blockquote><literallayout>
- <userinput>cd ../glibc-2.1.3 &amp;&amp;</userinput>
- <userinput>patch -Np1 -i ../glibc-2.1.3.patch &amp;&amp;</userinput>
- <userinput>cd $LFS/usr/src/glibc-build &amp;&amp;</userinput>
- <userinput>../glibc-2.1.3/configure \</userinput>
+ <userinput>cd /usr/src/glibc-build &amp;&amp;</userinput>
+ <userinput>../glibc-2.2.1/configure \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr --enable-add-ons
\</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--with-headers=$LFS/usr/include
@@ -77,33 +58,8 @@ commands:
<userinput>&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin &amp;&amp;
</userinput>
<userinput>make &amp;&amp;</userinput>
- <userinput>make install_root=$LFS install &amp;&amp;</userinput>
- <userinput>make install_root=$LFS localedata/install-locales</userinput>
-
-</literallayout></blockquote>
-
-<para>
-If your system didn't have a suitable GCC version installed, change to the
-<filename class="directory">$LFS/usr/src/glibc-build</filename>
-directory and install Glibc using the gcc-2.95.2.1 you just installed by
-running the following commands:
-</para>
-
-<blockquote><literallayout>
-
- <userinput>cd ../glibc-2.1.3 &amp;&amp;</userinput>
- <userinput>patch -Np1 -i ../glibc-2.1.3.patch &amp;&amp;</userinput>
- <userinput>cd $LFS/usr/src/glibc-build &amp;&amp;</userinput>
- <userinput>CC=/usr/local/gcc2952/bin/gcc \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;../glibc-2.1.3/configure --prefix=/usr
- --enable-add-ons \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;--with-headers=$LFS/usr/include \
- </userinput>
- <userinput>&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin &amp;&amp;
- </userinput>
- <userinput>make &amp;&amp;</userinput>
- <userinput>make install_root=$LFS install &amp;&amp;</userinput>
- <userinput>make install_root=$LFS localedata/install-locales</userinput>
+ <userinput>make install &amp;&amp;</userinput>
+ <userinput>make localedata/install-locales</userinput>
</literallayout></blockquote>