Ignore:
Timestamp:
01/27/2016 09:49:38 PM (8 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
e1c3882
Parents:
e408cb0
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    re408cb0 rf1dd547  
    7878<screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen>
    7979
    80     <para>The Glibc documentation recommends building Glibc outside of the source
    81     directory in a dedicated build directory:</para>
    82 
    83 <screen><userinput remap="pre">mkdir -v ../glibc-build
    84 cd ../glibc-build</userinput></screen>
     80    <para>The Glibc documentation recommends building Glibc
     81    in a dedicated build directory:</para>
     82
     83<screen><userinput remap="pre">mkdir -v build
     84cd       build</userinput></screen>
    8585
    8686    <para>Prepare Glibc for compilation:</para>
    8787
    88 <screen><userinput remap="configure">../glibc-&glibc-version;/configure    \
    89     --prefix=/usr          \
    90     --disable-profile      \
    91     --enable-kernel=&min-kernel; \
    92     --enable-obsolete-rpc</userinput></screen>
     88<screen><userinput remap="configure">../configure --prefix=/usr          \
     89             --disable-profile      \
     90             --enable-kernel=&min-kernel; \
     91             --enable-obsolete-rpc</userinput></screen>
    9392
    9493    <para>Compile the package:</para>
     
    171170    <command>nscd</command>:</para>
    172171
    173 <screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf
     172<screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf
    174173mkdir -pv /var/cache/nscd</userinput></screen>
    175174
     
    275274
    276275    <para>Install and set up the time zone data with the following:</para>
    277 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
     276<screen><userinput>tar -xf ../../tzdata&tzdata-version;.tar.gz
    278277
    279278ZONEINFO=/usr/share/zoneinfo
Note: See TracChangeset for help on using the changeset viewer.