- Timestamp:
- 06/29/2005 04:24:16 PM (19 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.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, 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:
- ab1a271
- Parents:
- 2ec0d20
- Location:
- chapter05
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/expect.xml
r2ec0d20 r663ecfc 56 56 <listitem><para>This explicitly tells Expect where to find Tcl's source 57 57 directory and internal headers. Using this option avoids conditions 58 where <command>configure</command> fails because it hasn't automatically59 discover edthe location of the Tcl source directory.</para></listitem>58 where <command>configure</command> fails because it cannot automatically 59 discover the location of the Tcl source directory.</para></listitem> 60 60 </varlistentry> 61 61 … … 64 64 <listitem><para>This tells the configure script not to search for Tk 65 65 (the Tcl GUI component) or the X Window System libraries, both of 66 which may reside on the host system.</para></listitem> 66 which may reside on the host system but will not exist in the temporary 67 environment.</para></listitem> 67 68 </varlistentry> 68 69 </variablelist> -
chapter05/gawk.xml
r2ec0d20 r663ecfc 38 38 <screen><userinput>make</userinput></screen> 39 39 40 <para>To test the results (not necessary), issue: <userinput>make40 <para>To test the results, issue: <userinput>make 41 41 check</userinput>.</para> 42 42 -
chapter05/gettext.xml
r2ec0d20 r663ecfc 48 48 <varlistentry> 49 49 <term><parameter>--without-csharp</parameter></term> 50 <listitem><para>This tells Gettext not to use a C# compiler, even if a 51 C# compiler is installed on the host. This needs to be done because 52 once we enter the chroot environment, C# will no longer be 53 available.</para></listitem> 50 <listitem><para>This ensures that Gettext does not build support for the C# 51 compiler which may be present on the host but will not be available once we 52 enter the chroot environment.</para></listitem> 54 53 </varlistentry> 55 54 </variablelist> -
chapter05/glibc.xml
r2ec0d20 r663ecfc 105 105 </varlistentry> 106 106 107 <!-- Edit Me -->108 107 <varlistentry> 109 108 <term><parameter>--without-selinux</parameter></term> 110 <listitem><para>When building from hosts using SELinux functionality 111 (i.e. Fedora Core 3), Glibc will try to integrate this functionality into 112 itself, but will fail, because we do not have this functionality in the LFS 113 tools environment. This option will disable this, allowing Glibc to build 114 correctly, but will not otherwise affect the build.</para></listitem> 115 </varlistentry> 116 <!-- --> 109 <listitem><para>When building from hosts that include SELinux functionality 110 (e.g. Fedora Core 3), Glibc will build with support for SELinux. As the LFS 111 tools environment does not contain support for SELinux, a Glibc compiled with 112 such support will fail to operate correctly.</para></listitem> 113 </varlistentry> 117 114 </variablelist> 118 115 -
chapter05/grep.xml
r2ec0d20 r663ecfc 40 40 <varlistentry> 41 41 <term><parameter>--disable-perl-regexp</parameter></term> 42 <listitem><para>This makes sure that the <command>grep</command> 43 program does not get linked against a Perl Compatible Regular 44 Expression (PCRE) library that may be present on the host and would 45 not be available once we enter the chroot 42 <listitem><para>This ensures that the <command>grep</command> program does not 43 get linked against a Perl Compatible Regular Expression (PCRE) library that may 44 be present on the host but will not be available once we enter the chroot 46 45 environment.</para></listitem> 47 46 </varlistentry> -
chapter05/ncurses.xml
r2ec0d20 r663ecfc 40 40 <varlistentry> 41 41 <term><parameter>--without-ada</parameter></term> 42 <listitem><para>This tells Ncurses not to build its Ada bindings, even 43 if an Ada compiler is installed on the host. This needs to be done 44 because once we enter the chroot environment, Ada will no longer be 45 available.</para></listitem> 42 <listitem><para>This ensures that Ncurses does not build support for the ada 43 compiler which may be present on the host but will not be available once we 44 enter the chroot environment.</para></listitem> 46 45 </varlistentry> 47 46 -
chapter05/perl.xml
r2ec0d20 r663ecfc 51 51 </variablelist> 52 52 53 <para>Compile only the required tools:</para> 53 <para>Only a few of the utilities contained in this package need to be 54 built:</para> 54 55 55 56 <screen><userinput>make perl utilities</userinput></screen> … … 61 62 be run in the next chapter if desired.</para> 62 63 63 <para> Copythese tools and their libraries:</para>64 <para>Install these tools and their libraries:</para> 64 65 65 66 <screen><userinput>cp perl pod/pod2man /tools/bin -
chapter05/tcl.xml
r2ec0d20 r663ecfc 58 58 Greenwich Mean Time (GMT), but only for the duration of the test suite 59 59 run. This ensures that the clock tests are exercised correctly. 60 Details on the <envar>TZ</envar> environment variable isprovided in60 Details on the <envar>TZ</envar> environment variable are provided in 61 61 <xref linkend="chapter-bootscripts"/>.</para> 62 62 -
chapter05/toolchaintechnotes.xml
r2ec0d20 r663ecfc 14 14 section can be referred back to at any time during the process.</para> 15 15 16 <para>The overall goal of <xref linkend="chapter-temporary-tools"/> is 17 to provide a temporary environment that can be chrooted into and from 18 which can be produced a clean, trouble-free build of the target LFS 19 system in <xref linkend="chapter-building-system"/>. Along the way, we 20 separate from the host system as much as possible, and in doing so, 21 build a self-contained and self-hosted toolchain. It should be noted 22 that the build process has been designed to minimize the risks for new 23 readers and provide maximum educational value at the same time. In 24 other words, more advanced techniques could be used to build the 25 system.</para> 16 <para>The overall goal of <xref linkend="chapter-temporary-tools"/> is to 17 provide a temporary environment that can be chrooted into and from which can be 18 produced a clean, trouble-free build of the target LFS system in <xref 19 linkend="chapter-building-system"/>. Along the way, we separate the new system 20 from the host system as much as possible, and in doing so, build a 21 self-contained and self-hosted toolchain. It should be noted that the build 22 process has been designed to minimize the risks for new readers and provide 23 maximum educational value at the same time.</para> 26 24 27 25 <important> -
chapter05/util-linux.xml
r2ec0d20 r663ecfc 30 30 <title>Installation of Util-linux</title> 31 31 32 <para>Util-linux does not use the freshly installed headers and 33 libraries from the <filename class="directory">/tools</filename> 34 directory. This isfixed by altering the configure script:</para>32 <para>Util-linux does not use the freshly installed headers and libraries from 33 the <filename class="directory">/tools</filename> directory by default. This is 34 fixed by altering the configure script:</para> 35 35 36 36 <screen><userinput>sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen> … … 44 44 <screen><userinput>make -C lib</userinput></screen> 45 45 46 <para> Since only a couple of the utilities contained in this package47 are needed, build only those:</para>46 <para>Only a few of the utilities contained in this package need to be 47 built:</para> 48 48 49 49 <screen><userinput>make -C mount mount umount
Note:
See TracChangeset
for help on using the changeset viewer.