diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2016-01-27 21:49:38 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2016-01-27 21:49:38 +0000 |
commit | f1dd5475c93b2464957212d8e81b94d5b5af9630 (patch) | |
tree | 3bbe56582df3369e3cba8ded3acb77ab9009958c /chapter06/glibc.xml | |
parent | e408cb05608c2d009b2685f8302ef2a692c00266 (diff) |
Move external build directories into dedicated build directories inside the
source tree for binutils, gcc, and glibc.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r-- | chapter06/glibc.xml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 1cbaf232a..a78d81ee7 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -77,19 +77,18 @@ <screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen> - <para>The Glibc documentation recommends building Glibc outside of the source - directory in a dedicated build directory:</para> + <para>The Glibc documentation recommends building Glibc + in a dedicated build directory:</para> -<screen><userinput remap="pre">mkdir -v ../glibc-build -cd ../glibc-build</userinput></screen> +<screen><userinput remap="pre">mkdir -v build +cd build</userinput></screen> <para>Prepare Glibc for compilation:</para> -<screen><userinput remap="configure">../glibc-&glibc-version;/configure \ - --prefix=/usr \ - --disable-profile \ - --enable-kernel=&min-kernel; \ - --enable-obsolete-rpc</userinput></screen> +<screen><userinput remap="configure">../configure --prefix=/usr \ + --disable-profile \ + --enable-kernel=&min-kernel; \ + --enable-obsolete-rpc</userinput></screen> <para>Compile the package:</para> @@ -170,7 +169,7 @@ cd ../glibc-build</userinput></screen> <para>Install the configuration file and runtime directory for <command>nscd</command>:</para> -<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf +<screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf mkdir -pv /var/cache/nscd</userinput></screen> <para>The locales that can make the system respond in a different language @@ -274,7 +273,7 @@ EOF</userinput></screen> <title>Adding time zone data</title> <para>Install and set up the time zone data with the following:</para> -<screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz +<screen><userinput>tar -xf ../../tzdata&tzdata-version;.tar.gz ZONEINFO=/usr/share/zoneinfo mkdir -pv $ZONEINFO/{posix,right} |