Changeset cbfa0a3 for cross-tools


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
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cross-tools/common/binutils.xml

    r54e0992 rcbfa0a3  
    130130<screen os="bi"><userinput>make install</userinput></screen>
    131131
    132     <para os="bj">Copy <filename class="headerfile">libiberty.h</filename> file to
     132    <para os="bj">Copy the <filename class="headerfile">libiberty.h</filename> file to
    133133    <filename class="directory">/tools/include</filename> directory:</para>
    134134
  • cross-tools/common/cflags.xml

    r54e0992 rcbfa0a3  
    1919unset CXXFLAGS</userinput></screen>
    2020
    21   <para>Now we will add these to <filename>~/.bashrc</filename>, just in
     21  <para>Now add these to <filename>~/.bashrc</filename>, just in
    2222  case you have to exit and restart building later:</para>
    2323
  • cross-tools/common/glibc.xml

    r54e0992 rcbfa0a3  
    2727    risk.</para>
    2828
    29     <para os="db">We will disable the linking to
    30     <filename>libgcc_eh</filename>:</para>
     29    <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
    3130
    3231<screen os="dc"><userinput>patch -Np1 -i ../&glibc-libgcc_eh-patch;</userinput></screen>
     
    4847    xpointer="xpointer(//*[@os='f'])"/>
    4948
    50     <para os="dd">For NPTL enabled systems we will need to add the following lines to
    51     <filename>config.cache</filename>:</para>
     49    <para os="dd">For NPTL enabled systems the following lines need
     50    to be added to <filename>config.cache</filename>:</para>
    5251
    5352<screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
     
    7372        <term><parameter>BUILD_CC="gcc"</parameter></term>
    7473        <listitem>
    75           <para>This sets GLIBC to use the current compiler on our system. This is
    76           used to create the tools GLIBC uses durings it's build.</para>
     74          <para>This sets Glibc to use the current compiler on our system. This is
     75          used to create the tools Glibc uses durings it's build.</para>
    7776        </listitem>
    7877      </varlistentry>
     
    8180        <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term>
    8281        <listitem>
    83           <para>This forces GLIBC to use the GCC complier that we made for our target
     82          <para>This forces Glibc to use the GCC complier that we made for our target
    8483          architecture.</para>
    8584        </listitem>
     
    8988        <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term>
    9089        <listitem>
    91           <para>This forces GLIBC to use the AR utility we made for our target
     90          <para>This forces Glibc to use the AR utility we made for our target
    9291          architecture.</para>
    9392        </listitem>
     
    9796        <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term>
    9897        <listitem>
    99           <para>This forces GLIBC to use the RANLIB utility we made for our target
     98          <para>This forces Glibc to use the RANLIB utility we made for our target
    10099          architecture.</para>
    101100        </listitem>
     
    113112        <term><parameter>--enable-add-ons</parameter></term>
    114113        <listitem>
    115           <para>This tells GLIBC to utilize all add-on's that are avaialble.</para>
     114          <para>This tells Glibc to utilize all add-ons that are avaialble.</para>
    116115        </listitem>
    117116      </varlistentry>
     
    120119        <term><parameter>--with-tls</parameter></term>
    121120        <listitem>
    122           <para>This tells GLIBC to use Thread Local Storage.</para>
     121          <para>This tells Glibc to use Thread Local Storage.</para>
    123122        </listitem>
    124123      </varlistentry>
     
    127126        <term><parameter>--with-__thread</parameter></term>
    128127        <listitem>
    129           <para>This tells GLIBC to use use the __thread for libc and
     128          <para>This tells Glibc to use use the __thread for libc and
    130129          libpthread builds.</para>
    131130        </listitem>
     
    135134        <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    136135        <listitem>
    137           <para>This tells GLIBC to use the Binutils that are specific to
     136          <para>This tells Glibc to use the Binutils that are specific to
    138137          our target architecture.</para>
    139138        </listitem>
     
    143142        <term><parameter>--cache-file=config.cache</parameter></term>
    144143        <listitem>
    145           <para>This tells GLIBC to utilize a premade cache file.</para>
     144          <para>This tells Glibc to utilize a premade cache file.</para>
    146145        </listitem>
    147146      </varlistentry>
  • 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.