Changeset cbfa0a3 for cross-tools/x86


Ignore:
Timestamp:
Feb 21, 2006, 1:56:25 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
07b5f51
Parents:
54e0992
Message:

r974@server (orig r972): jim | 2005-12-28 21:29:16 -0800

r1216@server: jim | 2005-12-28 21:26:31 -0800
Text Updates from Chris Staub. Thank you


Location:
cross-tools/x86
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cross-tools/x86/gcc-static.xml

    r54e0992 rcbfa0a3  
    2424    and no Threads</title>
    2525
    26     <para os="aa">We will make a couple of essential adjustments to the specs file
     26    <para os="aa">First make a couple of essential adjustments to the specs file
    2727    to point to use our build environment:</para>
    2828
    2929<screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen>
    3030
    31     <para os="ac">To make sure that we use the proper syntax for a couple of tools,
    32     we apply the following patch:</para>
     31    <para os="ac">To make sure that a couple of tools use the proper syntax,
     32    apply the following patch:</para>
    3333
    3434<screen os="ad"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
     
    4141<screen os="af"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen>
    4242
    43     <para os="ag">Now we will need to setup our StartFile Spec to the correct library
     43    <para os="ag">Now setup the StartFile Spec to the correct library
    4444    location:</para>
    4545
     
    4848#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" &gt;&gt; gcc/config/linux.h</userinput></screen>
    4949
    50     <para os="ai">Now we will alter <command>gcc</command>'s c preprocessors default
     50    <para os="ai">Now alter <command>gcc</command>'s c preprocessors default
    5151    include search path to use <filename class="directory">/tools</filename> only:</para>
    5252
     
    102102        <listitem>
    103103          <para>This will prevent GCC from finding the multi-thread
    104           include files, since we haven't created them for this architecture
    105           yet. We will be able to find the multi-thread information after
    106           we create the Glibc headers.</para>
     104          include files, since they haven't been created for this architecture
     105          yet. GCC will be able to find the multi-thread information after
     106          the Glibc headers are created.</para>
    107107        </listitem>
    108108      </varlistentry>
  • cross-tools/x86/glibc-headers.xml

    r54e0992 rcbfa0a3  
    2424
    2525    <para os="s1">The following sed removes a dependency of gcc 3.4.x from
    26     the glibc we are using in cross-lfs. The reason we are changing it is
    27     because this only installs the headers, no compiling takes place. In the
    28     next glibc chapter, we use the gcc that's built right after this chapter.</para>
     26    the glibc used in cross-lfs. The reason it is changed is
     27    because only the headers are being installed now; no compiling takes place.
     28    In the next glibc build, the gcc that's built right after this section will be used.</para>
    2929
    3030<screen os="s2"><userinput>cp configure{,.orig}
     
    7575        <term><parameter>CC=gcc</parameter></term>
    7676        <listitem>
    77           <para>Tells GLIBC to use the hosts GCC compiler.</para>
     77          <para>Tells Glibc to use the host's GCC compiler.</para>
    7878        </listitem>
    7979      </varlistentry>
     
    123123        <term><parameter>--with-binutils=/cross-tools/${LFS_TARGET}/bin</parameter></term>
    124124        <listitem>
    125           <para>This tells GLIBC to use the binutils for our specific target architecture.</para>
     125          <para>This tells Glibc to use the binutils for the specific target architecture.</para>
    126126        </listitem>
    127127      </varlistentry>
     
    133133<screen os="cd"><userinput>make install-headers</userinput></screen>
    134134
    135     <para os="ce">Some files aren't installed by the above command, so we will copy the additional header files we need:</para>
     135    <para os="ce">Some files aren't installed by the above command, so copy the additional header files that are needed:</para>
    136136
    137     <para os="cf">First we will copy a common file over to <filename
     137    <para os="cf">First copy a common file over to <filename
    138138    class="directory">/tools/include</filename>:</para>
    139139
     
    141141cp bits/stdio_lim.h /tools/include/bits</userinput></screen>
    142142
    143     <para os="ch">Now we will create a blank stub file:</para>
     143    <para os="ch">Now create a blank stub file:</para>
    144144
    145145<screen os="ci"><userinput>touch /tools/include/gnu/stubs.h</userinput></screen>
    146146
    147     <para os="cj">For NPTL we use the following command:</para>
     147    <para os="cj">For NPTL use the following command:</para>
    148148
    149149<screen os="ck"><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/pthread/pthread.h /tools/include/</userinput></screen>
    150150
    151     <para os="cl">Now we copy the architecture specific header over:</para>
     151    <para os="cl">Now copy the architecture specific header over:</para>
    152152
    153153<screen os="cm"><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.