- Timestamp:
- 03/31/2021 10:41:41 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- a5c2803
- Parents:
- edd83dc
- git-author:
- Thomas Trepl <thomas@…> (02/03/2021 08:02:01 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:41 AM)
- Location:
- chapter06
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/binutils-pass2.xml
redd83dc r9da9d014 102 102 <screen><userinput remap="make">make</userinput></screen> 103 103 104 <para>Install the package:</para> 104 <para>Install the package, and 105 workaround an issue causing 106 <filename class="libraryfile">libctf.so</filename> 107 to link against zlib from the host distribution:</para> 105 108 106 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 109 <screen><userinput remap="install">make DESTDIR=$LFS install 110 install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib</userinput></screen> 111 112 <para> 113 Workaround an issue causing 114 <filename class="libraryfile">libctf.so</filename> 115 to link against zlib from the host distribution: 116 </para> 117 118 <screen><userinput remap="install">install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib</userinput></screen> 107 119 108 120 </sect2> -
chapter06/chapter06.xml
redd83dc r9da9d014 23 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/> 24 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gzip.xml"/> 25 < xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/>25 <!--xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/--> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make.xml"/> 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="patch.xml"/> -
chapter06/file.xml
redd83dc r9da9d014 44 44 <title>Installation of File</title> 45 45 46 <para> 47 The <command>file</command> command on the build host needs 48 to be same version as the one we are building in order to 49 create the signature file. Run the following commands to build it: 50 </para> 51 52 <screen><userinput remap="pre">mkdir build 53 pushd build 54 ../configure 55 make 56 popd</userinput></screen> 57 46 58 <para>Prepare File for compilation:</para> 47 59 48 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT </userinput></screen>60 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen> 49 61 50 62 <!-- devs: if using - -build here, the build system wants to compile … … 55 67 <para>Compile the package:</para> 56 68 57 <screen><userinput remap="make">make </userinput></screen>69 <screen><userinput remap="make">make FILE_COMPILE=$(pwd)/build/src/file</userinput></screen> 58 70 59 71 <para>Install the package:</para> -
chapter06/ncurses.xml
redd83dc r9da9d014 178 178 ./configure --prefix=/usr \ 179 179 --host=$LFS_TGT32 \ 180 --build=$(./config.guess) \ 180 181 --libdir=&usr-lib-m32; \ 181 182 --mandir=/usr/share/man \ … … 217 218 ./configure --prefix=/usr \ 218 219 --host=$LFS_TGTX32 \ 220 --build=$(./config.guess) \ 219 221 --libdir=&usr-lib-mx32; \ 220 222 --mandir=/usr/share/man \
Note:
See TracChangeset
for help on using the changeset viewer.