Changeset 2e7a86a in clfs-sysroot for BOOK


Ignore:
Timestamp:
Feb 19, 2007, 2:49:25 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
a3ac3a2
Parents:
090d748
Message:

Updated the CLFS_HOST and CLFS_TARGET text.

Location:
BOOK
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/variables.xml

    r090d748 r2e7a86a  
    1515  <para os="a">During the building of the cross-compile tools you will need to
    1616  set a few variables that will be dependent on your particular needs.
    17   The first variable will be the triplet of the <envar>HOST</envar> machine.
    18   You will need to set the <envar>CHOST</envar> triplet to match your
    19   particular needs. To set this information you can issue the following
    20   command:</para>
     17  The first variable will be the triplet of the host machine, which will be
     18  put into the <envar>CLFS_HOST</envar> variable. To account for the
     19  possibility that the host and target are the same arch, as cross-compiling
     20  won't work when host and target are the same, part of the triplet needs to
     21  be changed slightly to add "cross". Set <envar>CLFS_HOST</envar> using the
     22  following command:</para>
    2123
    2224<screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen>
    2325
    24   <para os="c">Now you will need to set the target triplet for the target
    25   architecture. You can do this by running the same command as above, just
    26   running it on the target machine. If you can't run the command on the
    27   target machine, you can use the table at the bottom of this page. Set
    28   the command using the method listed below:</para>
     26  <para os="c">Now you will need to set the triplet for the target
     27  architecture. Set the target variable using the following command:</para>
    2928
    3029<screen os="d"><userinput>export CLFS_TARGET="arm-unknown-linux-gnu"</userinput></screen>
     
    3231  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
    3332
    34   <para os="e">Now we will add these to <filename>~/.bashrc</filename>, just in
     33  <para os="e">Now add these to <filename>~/.bashrc</filename>, just in
    3534  case you have to exit and restart building later:</para>
    3635
  • BOOK/introduction/common/changelog.xml

    r090d748 r2e7a86a  
    4040      <para>February 19, 2007</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Changed the wording in the "Build Variables" page
     44          to make it clearer. Copied from Chris's change in clfs-svn.</para>
     45        </listitem>
    4246        <listitem>
    4347          <para>[jciccone] - Fix the building of Ncurses when an unpatched
Note: See TracChangeset for help on using the changeset viewer.