Changeset 3a788f0c
- Timestamp:
- 09/24/2003 11:48:45 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:
- dcca029
- Parents:
- 978d0bf
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/bash-inst.xml
r978d0bf r3a788f0c 11 11 <para>Now prepare Bash for compilation:</para> 12 12 13 <para><screen><userinput>./configure --prefix=/tools --with-curses</userinput></screen></para>13 <para><screen><userinput>./configure --prefix=/tools</userinput></screen></para> 14 14 15 15 <para>Compile the program:</para> -
chapter05/binutils-pass1-inst.xml
r978d0bf r3a788f0c 36 36 configure script to prepare to install the Binutils programs in the 37 37 <filename>/tools</filename> directory.</para></listitem> 38 38 39 <listitem><para><userinput>--disable-nls</userinput>: This disables 39 40 internationalization (a word often shortened to i18n). We don't need this … … 70 71 <itemizedlist> 71 72 <listitem><para><userinput>-C ld clean</userinput>: This tells the make program 72 to remove all the compiled files only in the <filename>ld</filename>73 to remove all the compiled files, but only in the <filename>ld</filename> 73 74 subdirectory.</para></listitem> 74 75 … … 76 77 rebuilds everything in the <filename>ld</filename> subdirectory. Specifying the 77 78 LIB_PATH makefile variable on the command line allows us to override the default 78 value and have it point to our temporary tools location. This preparation will 79 be utilised later on in the chapter.</para></listitem> 79 value and have it point to our temporary tools location. The value of this 80 variable specifies the linker's default library search path. You'll see how this 81 preparation is utilised later on in the chapter.</para></listitem> 80 82 </itemizedlist> 81 83 -
chapter05/binutils-pass2-inst.xml
r978d0bf r3a788f0c 17 17 <para><screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \ 18 18 --enable-shared --with-lib-path=/tools/lib</userinput></screen></para> 19 20 <para>The meaning of the new configure option:</para> 21 22 <itemizedlist> 23 <listitem><para><userinput>--with-lib-path=/tools/lib</userinput>: This tells 24 the configure script to specify the default library search path. We don't want 25 the library search path to contain library directories from the host 26 system.</para></listitem> 27 </itemizedlist> 19 28 20 29 <para>Before starting to build Binutils, remember to unset any environment -
chapter05/coreutils-inst.xml
r978d0bf r3a788f0c 18 18 <para><screen><userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para> 19 19 20 <para>The meaning of the make option:</para> 21 22 <itemizedlist> 23 <listitem><para><userinput>RUN_EXPENSIVE_TESTS=yes</userinput>: This tells the 24 test suite to run several additional tests that are considered relatively 25 expensive on some platforms. Hovever, they are generally not a problem on 26 Linux.</para></listitem> 27 </itemizedlist> 28 20 29 <para>And install the package:</para> 21 30 22 31 <para><screen><userinput>make install</userinput></screen></para> 23 32 24 25 33 </sect2> 26 34 -
chapter05/expect-inst.xml
r978d0bf r3a788f0c 14 14 15 15 <para><screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no</userinput></screen></para> 16 17 <para>The meaning of the configure options:</para> 18 19 <itemizedlist> 20 <listitem><para><userinput>--with-tcl=/tools/lib</userinput>: This ensures that 21 the configure script finds the Tcl installation in our temporary tools location. 22 We don't want it to find an existing one that may possibly reside on the host 23 system.</para></listitem> 24 25 <listitem><para><userinput>--with-x=no</userinput>: This tells the configure 26 script not to search for Tk (the Tcl GUI component) or the X Window System 27 libraries, both of which may possibly reside on the host system.</para></listitem> 28 </itemizedlist> 16 29 17 30 <para>Build the package:</para> -
chapter05/tcl-inst.xml
r978d0bf r3a788f0c 24 24 <para><screen><userinput>TZ=UTC make test</userinput></screen></para> 25 25 26 <para>The meaning of the make option:</para> 27 28 <itemizedlist> 29 <listitem><para><userinput>TZ=UTC</userinput>: This sets the time zone to 30 Coordinated Universal Time (UTC) also known as Greenwich Mean Time (GMT), but 31 only for the duration of the test suite run. This ensures the clock tests are 32 exercised correctly. More information on the TZ environment variable is 33 available later on in Chapter 7.</para></listitem> 34 </itemizedlist> 35 26 36 <para>Sometimes, package test suites will give false failures. You can 27 37 consult the LFS Wiki at <ulink url="http://wiki.linuxfromscratch.org"/> … … 33 43 <para><screen><userinput>make install</userinput></screen></para> 34 44 35 <para>Make a link:</para>45 <para>Make a necessary symbolic link:</para> 36 46 <para><screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen></para> 37 47 -
chapter06/config-glibc.xml
r978d0bf r3a788f0c 5 5 <para>We need to create the <filename>/etc/nsswitch.conf</filename> file, 6 6 because, although Glibc provides defaults when this file is missing or corrupt, 7 the Glibc defaults don't work well with networking. Also, our time zone needs7 the Glibc defaults don't work well with networking. Also, our time zone needs 8 8 to be set up.</para> 9 9 … … 33 33 <userinput>EOF</userinput></screen></para> 34 34 35 <para>To find out what time zone you're in, run the following script:</para>35 <para>To find out what time zone you're in, run the following script:</para> 36 36 37 37 <para><screen><userinput>tzselect</userinput></screen></para> 38 38 39 39 <para>When you've answered a few questions about your location, the script will 40 output the name of your time zone, something like <emphasis>EST5EDT</emphasis>40 output the name of your time zone, something like <emphasis>EST5EDT</emphasis> 41 41 or <emphasis>Canada/Eastern</emphasis>. Then create the 42 42 <filename>/etc/localtime</filename> file by running:</para> … … 45 45 46 46 <para>Of course, instead of <emphasis>Canada/Eastern</emphasis>, fill in 47 the name of the time zone that the <userinput>tzselect</userinput> script47 the name of the time zone that the <userinput>tzselect</userinput> script 48 48 gave you.</para> 49 49 -
chapter06/makedev-inst.xml
r978d0bf r3a788f0c 6 6 <para>Please note that unpacking the MAKEDEV-&makedev-version;.bz2 file 7 7 doesn't create a directory for you to <userinput>cd</userinput> into, as 8 the file contains one shell script.</para>8 the file only contains a single shell script.</para> 9 9 10 10 <para>Install the MAKEDEV script:</para> … … 18 18 ./MAKEDEV -v generic-nopty</userinput></screen></para> 19 19 20 <para>The meaning of the option:</para> 21 22 <itemizedlist> 23 <listitem><para><userinput>-v generic-nopty</userinput>: The 24 <userinput>-v</userinput> parameter tells the MAKEDEV script to run in verbose 25 mode. The <userinput>generic-nopty</userinput> parameter instructs MAKEDEV to 26 create a generic selection of commonly used device special files, except for the 27 ptyXX and ttyXX range of files. We don't need those files because we are going 28 to use Unix98 PTYs via the <emphasis>devpts</emphasis> file 29 system.</para></listitem> 30 </itemizedlist> 31 20 32 <para>If a device you need is missing, try running 21 33 <userinput>./MAKEDEV -v <device></userinput>. Alternatively, you may -
index.xml
r978d0bf r3a788f0c 4 4 5 5 6 <!ENTITY version "2003092 3">7 <!ENTITY releasedate "September 2 3rd, 2003">6 <!ENTITY version "20030924"> 7 <!ENTITY releasedate "September 24th, 2003"> 8 8 <!ENTITY nbsp " "> 9 9
Note:
See TracChangeset
for help on using the changeset viewer.