Changeset ed3e5d8
- Timestamp:
- Feb 21, 2006, 1:55:04 AM (19 years ago)
- Children:
- 10c15e3
- Parents:
- 5c41d32
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
cross-tools/common/binutils.xml
r5c41d32 red3e5d8 101 101 <term><parameter>--disable-multilib</parameter></term> 102 102 <listitem> 103 <para>This option sdisables the building of a multilib103 <para>This option disables the building of a multilib 104 104 capable binutils.</para> 105 105 </listitem> -
cross-tools/common/cflags.xml
r5c41d32 red3e5d8 11 11 <title>Build CFLAGS</title> 12 12 13 <para><envar>CFLAGS</envar> during the building of cross tools must 14 not be set.</para> 13 <para><envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> must not be set during the building of cross tools.</para> 15 14 16 15 <para>To disable <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> 17 use the following command :</para>16 use the following commands:</para> 18 17 19 18 <screen><userinput>unset CFLAGS -
cross-tools/common/introduction.xml
r5c41d32 red3e5d8 47 47 <para>After installing each package, both in this and the next chapters, 48 48 delete its source and build directories, unless specifically instructed 49 otherwise. Deleting the sources space andprevents mis-configuration49 otherwise. Deleting the sources prevents mis-configuration 50 50 when the same package is reinstalled later.</para> 51 51 </important> -
cross-tools/x86/glibc-headers.xml
r5c41d32 red3e5d8 26 26 the glibc we are using in cross-lfs. The reason we are changing it is 27 27 because this only installs the headers, no compiling takes place. In the 28 next glibc chapter, we use the gcc that's buil dright after this chapter.</para>28 next glibc chapter, we use the gcc that's built right after this chapter.</para> 29 29 30 30 <screen os="s2"><userinput>cp configure{,.orig} … … 73 73 74 74 <varlistentry os="ca2"> 75 <term><parameter>--prefix=/tools</parameter></term>76 <listitem>77 <para>This tells the configure script to prepare to install the78 package in the <filename class="directory">/tools</filename>79 directory.</para>80 </listitem>81 </varlistentry>82 83 <varlistentry os="ca3">84 75 <term><parameter>--build=${LFS_HOST}</parameter></term> 85 76 <listitem> … … 89 80 </varlistentry> 90 81 91 <varlistentry os="ca 4">82 <varlistentry os="ca3"> 92 83 <term><parameter>--host=${LFS_TARGET}</parameter></term> 93 84 <listitem> … … 97 88 </varlistentry> 98 89 99 <varlistentry os="ca 5">90 <varlistentry os="ca4"> 100 91 <term><parameter>--disable-sanity-checks</parameter></term> 101 92 <listitem> … … 104 95 </varlistentry> 105 96 106 <varlistentry os="ca 6">97 <varlistentry os="ca5"> 107 98 <term><parameter>--enable-kernel=2.6.0</parameter></term> 108 99 <listitem> … … 112 103 </varlistentry> 113 104 114 <varlistentry os="ca 7">105 <varlistentry os="ca6"> 115 106 <term><parameter>--with-headers=/tools/include</parameter></term> 116 107 <listitem> … … 122 113 </varlistentry> 123 114 124 <varlistentry os="ca 8">115 <varlistentry os="ca7"> 125 116 <term><parameter>--with-binutils=/cross-tools/${LFS_TARGET}/bin</parameter></term> 126 117 <listitem> … … 135 126 <screen os="cd"><userinput>make install-headers</userinput></screen> 136 127 137 <para os="ce">Some files aren't installed by the above command, then 138 we will copy the header files we need:</para> 128 <para os="ce">Some files aren't installed by the above command, so we will copy the additional header files we need:</para> 139 129 140 130 <para os="cf">First we will copy a common file over to <filename -
final-preps/aboutlfs.xml
r5c41d32 red3e5d8 31 31 processes the command line.</para> 32 32 33 <para>If you haven't created the <filename class="directory"> /mnt/lfs</filename>33 <para>If you haven't created the <filename class="directory">$LFS</filename> 34 34 directory, do so at this time by issuing the following commands:</para> 35 35 -
final-preps/addinguser.xml
r5c41d32 red3e5d8 82 82 <filename class="directory">$LFS/cross-tools</filename>, 83 83 and <filename class="directory">$LFS/tools</filename> by making <systemitem 84 class="username">lfs</systemitem> the director iesowner:</para>84 class="username">lfs</systemitem> the directorys' owner:</para> 85 85 86 86 <screen><userinput>chown lfs $LFS … … 88 88 chown lfs $LFS/cross-tools</userinput></screen> 89 89 90 <para>If a separate working directory was created as suggested, we will 91 show you how to create the directory and give user <systemitem 92 class="username">lfs</systemitem> ownership of this directory:</para> 90 <para>If a separate working directory was created as suggested, 91 give user <systemitem class="username">lfs</systemitem> ownership of this directory:</para> 93 92 94 <screen><userinput>install -d $LFS/sources 95 chown lfs $LFS/sources</userinput></screen> 93 <screen><userinput>chown lfs $LFS/sources</userinput></screen> 96 94 97 95 <para>Next, login as user <systemitem class="username">lfs</systemitem>. -
final-preps/creatingcrossdir.xml
r5c41d32 red3e5d8 25 25 <para>The next step is to create a <filename 26 26 class="symlink">/cross-tools</filename> symlink on the host system. 27 This will point to the newly-created directory in your home directory. 28 Since normal users will not have permissions to write to the root tree, 29 we need to exit the <command>su</command> and run the symlink command as 30 <systemitem class="username">root</systemitem>:</para> 27 This will point to the newly-created directory on the LFS partition. 28 Run this command as <systemitem class="username">root</systemitem> as well:</para> 31 29 32 30 <screen><userinput>ln -s $LFS/cross-tools /</userinput></screen> … … 34 32 <para>The created symlink enables the toolchain to be compiled so that 35 33 it always refers to <filename class="directory">/cross-tools</filename>, 36 meaning that the compiler, assembler, and linker will be avai alble for34 meaning that the compiler, assembler, and linker will be available for 37 35 use later if some unforseen circumstances happen.</para> 38 36 -
introduction/common/acknowledgements.xml
r5c41d32 red3e5d8 11 11 12 12 <para>The editors of the book would like to acknowledge people who 13 have assisted in making the book ,what it is today.</para>13 have assisted in making the book what it is today.</para> 14 14 15 15 <itemizedlist> -
introduction/common/how.xml
r5c41d32 red3e5d8 29 29 30 30 <!-- --> 31 <para>THE TEXT BELOW NEED TO BE REWRITTEN</para>31 <para>THE TEXT BELOW NEEDS TO BE REWRITTEN</para> 32 32 33 33 <para><xref linkend="chapter-partitioning"/> of this book describes how … … 40 40 <xref linkend="chapter-final-preps"/> carefully as it explains several 41 41 important issues the developer should be aware of before beginning to 42 work through <xref linkend="chapter- temp-system"/> and42 work through <xref linkend="chapter-cross-tools"/> and 43 43 beyond.</para> 44 44 -
prologue/common/organization.xml
r5c41d32 red3e5d8 42 42 <title>Part IV - Building the Basic Tools</title> 43 43 44 <para>Part IV explains how to build ing a tool chain built for44 <para>Part IV explains how to build a tool chain built 45 45 to operate on your target system. These are the tools 46 46 that will allow you to build a working system on your -
temp-system/common/coreutils.xml
r5c41d32 red3e5d8 33 33 --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen> 34 34 35 <variablelist os="bf"> 36 <title>The meaning of the configure options:</title> 35 <para os="bf">Compile the package:</para> 37 36 38 <varlistentry> 39 <term><parameter>--cache-file=config.cache</parameter></term> 40 <listitem> 41 <para>This tells configure to use a config.cache file that we 42 specify.</para> 43 </listitem> 44 </varlistentry> 37 <screen os="bg"><userinput>make</userinput></screen> 45 38 46 < /variablelist>39 <para os="bh">Install the package:</para> 47 40 48 <para os="bg">Compile the package:</para> 49 50 <screen os="bh"><userinput>make</userinput></screen> 51 52 <para os="bi">Install the package:</para> 53 54 <screen os="bj"><userinput>make install</userinput></screen> 41 <screen os="bi"><userinput>make install</userinput></screen> 55 42 56 43 </sect2> -
temp-system/multilib/coreutils.xml
r5c41d32 red3e5d8 55 55 xpointer="xpointer(//*[@os='bi'])"/> 56 56 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"58 href="../common/coreutils.xml"59 xpointer="xpointer(//*[@os='bj'])"/>60 61 57 </sect2> 62 58
Note:
See TracChangeset
for help on using the changeset viewer.