- Timestamp:
- 10/06/2004 10:58:24 PM (20 years ago)
- Branches:
- 6.0
- Children:
- c059c37
- Parents:
- f67ec77a
- Location:
- chapter05
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/adjusting.xml
rf67ec77a r2256873 45 45 <para><phrase condition="html">It is recommended that the above 46 46 command be copy-and-pasted in order to ensure accuracy.</phrase> 47 <beginpage/> 47 48 Alternatively, the specs file can be edited by hand. This is done by 48 49 replacing every occurrence of <quote>/lib/ld-linux.so.2</quote> with … … 51 52 <para>Be sure to visually inspect the specs file in order to verify the 52 53 intended changes have been made.</para> 53 54 <beginpage/>55 54 56 55 <important><para>If working on a platform where the name of the … … 70 69 71 70 <screen><userinput>rm -f /tools/lib/gcc/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen> 71 72 <beginpage/> 72 73 73 74 <caution><para>At this point, it is imperative to stop and ensure that -
chapter05/bash.xml
rf67ec77a r2256873 44 44 </variablelist> 45 45 46 <para>Compile the p rogram:</para>46 <para>Compile the package:</para> 47 47 48 48 <screen><userinput>make</userinput></screen> -
chapter05/coreutils.xml
rf67ec77a r2256873 49 49 instructions be followed exactly as given above.</para> 50 50 51 <beginpage/> 52 51 53 <para>Compile the package:</para> 52 54 … … 60 62 platforms, but generally are not a problem on Linux.</para> 61 63 62 <beginpage/>63 64 <para>Install the package:</para> 64 65 -
chapter05/dejagnu.xml
rf67ec77a r2256873 22 22 <segtitle>DejaGNU installation depends on</segtitle> 23 23 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 24 GCC, Glibc, Grep, Make and Sed</seg></seglistitem>24 GCC, Glibc, Grep, Make, and Sed</seg></seglistitem> 25 25 </segmentedlist> 26 26 </sect2> … … 47 47 </segmentedlist> 48 48 49 <variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>49 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 50 50 <?dbfo list-presentation="list"?> 51 51 … … 53 53 <term><command>runtest</command></term> 54 54 <listitem> 55 <para> awrapper script that locates the proper56 <command>expect</command> shell and then runs DejaGNU .</para>55 <para>A wrapper script that locates the proper 56 <command>expect</command> shell and then runs DejaGNU</para> 57 57 <indexterm zone="ch-tools-dejagnu runtest"><primary sortas="b-runtest">runtest</primary></indexterm> 58 58 </listitem> -
chapter05/expect.xml
rf67ec77a r2256873 23 23 <segtitle>Expect installation depends on</segtitle> 24 24 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 25 GCC, Glibc, Grep, Make, Sed and Tcl</seg></seglistitem>25 GCC, Glibc, Grep, Make, Sed, and Tcl</seg></seglistitem> 26 26 </segmentedlist> 27 27 </sect2> … … 94 94 </segmentedlist> 95 95 96 <variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>96 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 97 97 <?dbfo list-presentation="list"?> 98 98 … … 100 100 <term><command>expect</command></term> 101 101 <listitem> 102 <para> communicates with other interactive103 programs according to a script .</para>102 <para>Communicates with other interactive 103 programs according to a script</para> 104 104 <indexterm zone="ch-tools-expect expect"><primary sortas="b-expect">expect</primary></indexterm> 105 105 </listitem> … … 109 109 <term><filename class="libraryfile">libexpect-5.42.a</filename></term> 110 110 <listitem> 111 <para> contains functions that allow Expect to be used as a Tcl extension or to112 be used directly from C or C++ (without Tcl) ."</para>111 <para>Contains functions that allow Expect to be used as a Tcl extension or to 112 be used directly from C or C++ (without Tcl)</para> 113 113 <indexterm zone="ch-tools-expect libexpect"><primary 114 114 sortas="c-libexpect-5.42">libexpect-5.42</primary></indexterm> -
chapter05/gettext.xml
rf67ec77a r2256873 53 53 </variablelist> 54 54 55 <para>Compile the programs:</para> 55 <beginpage/> 56 <para>Compile the package:</para> 56 57 57 58 <screen><userinput>make</userinput></screen> 58 59 59 <beginpage/>60 60 <para>To test the results, issue: <userinput>make check</userinput>. 61 61 This takes quite some time, around 7 SBUs. The Gettext test suite is … … 63 63 example when it finds a Java compiler on the host. An experimental 64 64 patch to disable Java is available from the LFS Patches project at 65 <ulink url="&lfs-root;patches/"/> </para>65 <ulink url="&lfs-root;patches/"/>.</para> 66 66 67 67 <para>Install the package:</para> -
chapter05/grep.xml
rf67ec77a r2256873 53 53 </variablelist> 54 54 55 <para>Compile the p rograms:</para>55 <para>Compile the package:</para> 56 56 57 57 <screen><userinput>make</userinput></screen> -
chapter05/introduction.xml
rf67ec77a r2256873 42 42 <para>During the compilation of most packages, there will be several 43 43 warnings that scroll by on the screen. These are normal and can safely 44 be ignored. These warnings are as they appear --warnings about44 be ignored. These warnings are as they appear—warnings about 45 45 deprecated, but not invalid, use of the C or C++ syntax. C standards 46 46 change fairly often, and some packages still use the older standard. 47 47 This is not a problem, but does prompt the warning.</para> 48 49 <beginpage/> 48 50 49 51 <para>After installing each package, delete its source and build … … 54 56 be used by later commands. Pay special attention to these 55 57 reminders.</para> 56 57 <beginpage/>58 58 59 59 <para>Check one last time that the <envar>LFS</envar> environment -
chapter05/kernel-headers.xml
rf67ec77a r2256873 51 51 <screen><userinput>make include/linux/version.h</userinput></screen> 52 52 53 <beginpage/> 54 53 55 <para>Create the platform-specific <filename class="symlink">include/asm</filename> 54 56 symlink:</para> … … 62 64 cp -R include/asm-generic /tools/glibc-kernheaders</userinput></screen> 63 65 64 <beginpage/>65 66 <para>Finally, install the cross-platform kernel header files:</para> 66 67 -
chapter05/make.xml
rf67ec77a r2256873 32 32 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 33 34 <para>Compile the p rogram:</para>34 <para>Compile the package:</para> 35 35 36 36 <screen><userinput>make</userinput></screen> -
chapter05/ncurses.xml
rf67ec77a r2256873 55 55 56 56 <beginpage/> 57 <para>Compile the p rograms and libraries:</para>57 <para>Compile the package:</para> 58 58 59 59 <screen><userinput>make</userinput></screen> -
chapter05/patch.xml
rf67ec77a r2256873 36 36 architectures.</para> 37 37 38 <para>Compile the p rogram:</para>38 <para>Compile the package:</para> 39 39 40 40 <screen><userinput>make</userinput></screen> -
chapter05/perl.xml
rf67ec77a r2256873 33 33 <screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen> 34 34 35 <para> Now prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX'35 <para>Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX' 36 36 part of the command correct—they are all letters):</para> 37 37 … … 49 49 </variablelist> 50 50 51 <beginpage/> 51 52 <para>Compile only the required tools:</para> 52 53 … … 59 60 be run in the next chapter if desired.</para> 60 61 61 <beginpage/>62 62 <para>Copy these tools and their libraries:</para> 63 63 -
chapter05/sed.xml
rf67ec77a r2256873 32 32 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 33 34 <para>Compile the p rogram:</para>34 <para>Compile the package:</para> 35 35 36 36 <screen><userinput>make</userinput></screen> -
chapter05/tar.xml
rf67ec77a r2256873 32 32 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 33 34 <para>Compile the p rograms:</para>34 <para>Compile the package:</para> 35 35 36 36 <screen><userinput>make</userinput></screen> -
chapter05/tcl.xml
rf67ec77a r2256873 22 22 <segtitle>Tcl installation depends on</segtitle> 23 23 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 24 GCC, Glibc, Grep, Make and Sed</seg></seglistitem>24 GCC, Glibc, Grep, Make, and Sed</seg></seglistitem> 25 25 </segmentedlist> 26 26 … … 55 55 the time zone to Coordinated Universal Time (UTC), also known as 56 56 Greenwich Mean Time (GMT), but only for the duration of the test suite 57 run. This ensures that the clock tests are exercised correctly. More58 information on the <envar>TZ</envar> environment variable is provided in <xref 59 linkend="chapter-bootscripts"/>.</para>57 run. This ensures that the clock tests are exercised correctly. 58 Details on the <envar>TZ</envar> environment variable is provided in 59 <xref linkend="chapter-bootscripts"/>.</para> 60 60 61 61 <para>Install the package:</para> … … 63 63 <screen><userinput>make install</userinput></screen> 64 64 65 <beginpage/> 65 66 <warning><para><emphasis>Do not</emphasis> remove the 66 67 <filename class="directory">tcl&tcl-version;</filename> source directory yet, as the next package … … 81 82 </segmentedlist> 82 83 83 <variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>84 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 84 85 <?dbfo list-presentation="list"?> 85 86 … … 87 88 <term><command>tclsh8.4</command></term> 88 89 <listitem> 89 <para> the Tcl command shell.</para>90 <para>The Tcl command shell</para> 90 91 <indexterm zone="ch-tools-tcl tclsh8.4"><primary sortas="b-tclsh8.4">tclsh8.4</primary></indexterm> 91 92 </listitem> … … 95 96 <term><command>tclsh</command></term> 96 97 <listitem> 97 <para> link to tclsh8.4</para>98 <para>A link to tclsh8.4</para> 98 99 <indexterm zone="ch-tools-tcl tclsh"><primary sortas="b-tclsh">tclsh</primary></indexterm> 99 100 </listitem> … … 103 104 <term><filename class="libraryfile">libtcl8.4.so</filename></term> 104 105 <listitem> 105 <para> the Tcl library.</para>106 <para>The Tcl library</para> 106 107 <indexterm zone="ch-tools-tcl libtcl8.4.so"><primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary></indexterm> 107 108 </listitem> -
chapter05/texinfo.xml
rf67ec77a r2256873 32 32 <screen><userinput>./configure --prefix=/tools</userinput></screen> 33 33 34 <para>Compile the p rograms:</para>34 <para>Compile the package:</para> 35 35 36 36 <screen><userinput>make</userinput></screen> -
chapter05/toolchaintechnotes.xml
rf67ec77a r2256873 61 61 cross-compiling, whereby tools installed in the same prefix work in 62 62 cooperation, and thus utilize a little GNU 63 <quote>magic .</quote></para></listitem>63 <quote>magic</quote></para></listitem> 64 64 65 65 <listitem><para>Careful manipulation of the standard linker's library … … 110 110 search paths are not necessarily used. To find out which standard 111 111 linker <command>gcc</command> will use, run: <userinput>gcc 112 -print-prog-name=ld</userinput>. Detailed 113 information can be obtained from <command>gcc</command> by passing it 114 the <parameter>-v</parameter> command line option while compiling a 115 dummy program. For example, <userinput>gcc -v dummy.c</userinput> will show detailed 116 information about the preprocessor, compilation, and assembly stages, 117 including <command>gcc</command>'s included search paths and their 118 order.</para> 112 -print-prog-name=ld</userinput>.</para> 113 114 <para>Detailed information can be obtained from <command>gcc</command> 115 by passing it the <parameter>-v</parameter> command line option while 116 compiling a dummy program. For example, <userinput>gcc -v 117 dummy.c</userinput> will show detailed information about the 118 preprocessor, compilation, and assembly stages, including 119 <command>gcc</command>'s included search paths and their order.</para> 119 120 120 121 <para>The next package installed is Glibc. The most important -
chapter05/util-linux.xml
rf67ec77a r2256873 50 50 <para>This package does not come with a test suite.</para> 51 51 52 <para> Now copy these programs to the temporary tools directory:</para>52 <para>Copy these programs to the temporary tools directory:</para> 53 53 54 54 <screen><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.