- Timestamp:
- 08/11/2003 10:49:50 PM (21 years ago)
- 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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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, v5_0, v5_1, v5_1_1, 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:
- 6e3b255
- Parents:
- 775a268
- Location:
- chapter05
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/binutils-pass2-inst.xml
r775a268 rab6f1859 2 2 3 3 <sect2> 4 <title> Installation of Binutils</title>4 <title>Re-installation of Binutils</title> 5 5 6 6 <para>First create a separate build directory again:</para> … … 14 14 --enable-shared --with-lib-path=/stage1/lib</userinput></screen></para> 15 15 16 <para>Before starting to build Binutils, remember to unset any environment 17 variables that override the default optimization flags.</para> 18 16 19 <para>Compile the package:</para> 17 20 18 21 <para><screen><userinput>make </userinput></screen></para> 19 22 20 <para>Test the package(nothing should fail here):</para>23 <para>Test the results (nothing should fail here):</para> 21 24 22 25 <para><screen><userinput>make check</userinput></screen></para> -
chapter05/binutils-pass2.xml
r775a268 rab6f1859 6 6 Estimated required disk space: &binutils-pass1-compsize-stage1;</screen> 7 7 8 &aa-binutils-shortdesc;9 &aa-binutils-dep;10 8 &c5-binutils-pass2-inst; 11 9 -
chapter05/bzip2-inst.xml
r775a268 rab6f1859 4 4 <title>Installation of Bzip2</title> 5 5 6 <para>Since the Bzip2 package has no configure script we can't prepare it 7 for compilation. Instead we just run the <userinput>make</userinput> 8 program and start compiling, with a few variables changed to suit our 9 environment:</para> 6 <para>The Bzip2 package doesn't contain a <userinput>configure</userinput> 7 script. Compile and install it with a straightforward:</para> 10 8 11 <para><screen><userinput>make 12 make PREFIX=/stage1 install</userinput></screen></para> 9 <para><screen><userinput>make PREFIX=/stage1 install</userinput></screen></para> 13 10 14 11 </sect2> -
chapter05/coreutils-inst.xml
r775a268 rab6f1859 4 4 <title>Installation of Coreutils</title> 5 5 6 <para><screen><userinput>./configure --prefix=/stage1 7 make 8 make RUN_EXPENSIVE_TESTS=yes check 9 make install</userinput></screen></para> 6 <para>Prepare Coreutils to be compiled:</para> 7 8 <para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para> 9 10 <para>Compile the package:</para> 11 12 <para><screen><userinput>make</userinput></screen></para> 13 14 <para>Test the results thoroughly:</para> 15 16 <para><screen><userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para> 17 18 <para>And install the package:</para> 19 20 <para><screen><userinput>make install</userinput></screen></para> 10 21 11 22 -
chapter05/coreutils.xml
r775a268 rab6f1859 3 3 <?dbhtml filename="coreutils.html" dir="chapter05"?> 4 4 5 <screen>Estimated build time: &coreutils-time; 6 Estimated required disk space: &coreutils-compsize;</screen> 7 8 &aa-coreutils-shortdesc; 9 &aa-coreutils-dep; 5 10 &c5-coreutils-inst; 6 11 -
chapter05/diffutils-inst.xml
r775a268 rab6f1859 6 6 <para>Prepare Diffutils to be compiled:</para> 7 7 8 <para><screen><userinput>./configure --prefix=/stage1 9 make 10 make install</userinput></screen></para> 8 <para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para> 9 10 <para>Compile the package:</para> 11 12 <para><screen><userinput>make</userinput></screen></para> 13 14 <para>And install it:</para> 15 16 <para><screen><userinput>make install</userinput></screen></para> 11 17 12 18 </sect2> -
chapter05/expect-inst.xml
r775a268 rab6f1859 24 24 problem here either.</para> 25 25 26 <para>You can now remove the builddirectories of both Tcl and Expect.</para>26 <para>You can now remove the source directories of both Tcl and Expect.</para> 27 27 28 28 </sect2> -
chapter05/findutils-inst.xml
r775a268 rab6f1859 6 6 <para>Prepare Findutils to be compiled:</para> 7 7 8 <para><screen><userinput>./configure --prefix=/stage1 9 make 10 make check 11 make install</userinput></screen></para> 8 <para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para> 9 10 <para>Compile the package:</para> 11 12 <para><screen><userinput>make </userinput></screen></para> 13 14 <para>Test the results:</para> 15 16 <para><screen><userinput>make check</userinput></screen></para> 17 18 <para>And install the package:</para> 19 20 <para><screen><userinput>make install</userinput></screen></para> 12 21 13 22 </sect2> -
chapter05/gawk-inst.xml
r775a268 rab6f1859 8 8 <para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para> 9 9 10 <para>Co ntinue with compilingthe package:</para>10 <para>Compile the package:</para> 11 11 12 12 <para><screen><userinput>make</userinput></screen></para> 13 13 14 <para>And finish off installing the package:</para>14 <para>And install it:</para> 15 15 16 16 <para><screen><userinput>make install</userinput></screen></para> -
chapter05/gcc-pass1-inst.xml
r775a268 rab6f1859 4 4 <title>Installation of GCC</title> 5 5 6 <para> We won't be needing a C++ compiler until the next chapter. So, only7 the gcc-core tarball needs to be unpacked at this time.</para>6 <para>Unpack only the GCC-core tarball, as we won't be needing a C++ compiler 7 for the moment.</para> 8 8 9 9 <para>This package is known to behave badly when you have changed its … … 43 43 having <filename>libgcc_eh.a</filename> available ensures that the configure 44 44 script for Glibc (the next package we compile) produces the proper results. 45 Please note that the <userinput>gcc</userinput> binaries will still be linked45 Note that the <userinput>gcc</userinput> binaries will still be linked 46 46 statically, as this is controlled by the <userinput>-static</userinput> 47 47 value of BOOT_LDFLAGS further on.</para></listitem> 48 48 49 <listitem><para><userinput>--enable-languages=c</userinput>: This will build50 only the C compiler from the GCC package. We won't be needing anything else 51 during this chapter.</para></listitem>49 <listitem><para><userinput>--enable-languages=c</userinput>: This option 50 ensures that only the C compiler is built. The option is only needed when you 51 have downloaded and unpacked the full GCC tarball.</para></listitem> 52 52 </itemizedlist> 53 53 -
chapter05/gcc-pass2-inst.xml
r775a268 rab6f1859 2 2 3 3 <sect2> 4 <title>Installation of GCC</title> 4 <title>Re-installation of GCC</title> 5 6 <para>Unpack all three GCC tarballs in one and the same working directory. 7 They will all unfold into a single <filename>gcc-&gcc-version;/</filename> 8 subdir.</para> 5 9 6 10 <para>First correct two problems and make an essential adjustment:</para> … … 22 26 cd ../gcc-build</userinput></screen></para> 23 27 28 <para>Before starting to build GCC, remember to unset any environment 29 variables that override the default optimization flags.</para> 30 24 31 <para>Now prepare GCC to be compiled:</para> 25 32 … … 37 44 same sources.</para> 38 45 39 <para>Test the package:</para>46 <para>Test the results:</para> 40 47 41 48 <para><screen><userinput>make -k check</userinput></screen></para> -
chapter05/gcc-pass2.xml
r775a268 rab6f1859 6 6 Estimated required disk space: &gcc-compsize-pass1-stage1;</screen> 7 7 8 &aa-gcc-shortdesc;9 &aa-gcc-dep;10 8 &c5-gcc-pass2-inst; 11 9 -
chapter05/gzip-inst.xml
r775a268 rab6f1859 4 4 <title>Installation of Gzip</title> 5 5 6 <para><screen><userinput>./configure --prefix=/stage1 7 make 8 make install</userinput></screen></para> 6 <para>Prepare Gzip to be compiled:</para> 7 8 <para><screen><userinput>./configure --prefix=/stage1</userinput></screen></para> 9 10 <para>Compile the package:</para> 11 12 <para><screen><userinput>make</userinput></screen></para> 13 14 <para>And install it:</para> 15 16 <para><screen><userinput>make install</userinput></screen></para> 9 17 10 18 </sect2> -
chapter05/lockingglibc.xml
r775a268 rab6f1859 17 17 against the libraries in <filename>/stage1/lib</filename>.</para> 18 18 19 <para>You can now remove the binutils-*directories.</para>19 <para>You can now remove Binutils' build and source directories.</para> 20 20 21 21 </sect2> -
chapter05/tcl-inst.xml
r775a268 rab6f1859 27 27 <para><screen><userinput>ln -s tclsh8.4 /stage1/bin/tclsh</userinput></screen></para> 28 28 29 <para> Do <emphasis>not remove</emphasis> the30 <filename>tcl&tcl-version;</filename> directory yet, as the next package will31 need its internal headers.</para>29 <para><emphasis>Do not remove</emphasis> the 30 <filename>tcl&tcl-version;</filename> source directory yet, as the next package 31 will need its internal headers.</para> 32 32 33 33 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.