Ignore:
Timestamp:
Feb 15, 2007, 11:32:17 PM (17 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
9aba4a0
Parents:
8ba5b4d
Message:

Changed text in Build Variables pages to make it clearer

File:
1 edited

Legend:

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

    r8ba5b4d r7030b60  
    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
    30 <screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen>
     29<screen os="d"><userinput>export CLFS_TARGET="[target triplet]"</userinput></screen>
    3130
    32   <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
     31  <para os="t1">Replace [target triplet] with the appropriate machine triplet
     32  using the table at the bottom of the page.</para>
    3333
    34   <para os="e">Now we will add these to <filename>~/.bashrc</filename>, just in
     34  <bridgehead renderas="sect4">Copy settings to the Environment</bridgehead>
     35
     36  <para os="e">Now add these to <filename>~/.bashrc</filename>, just in
    3537  case you have to exit and restart building later:</para>
    3638
Note: See TracChangeset for help on using the changeset viewer.