Ignore:
Timestamp:
Feb 21, 2006, 1:26:16 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Children:
4a9cdca
Parents:
360c931
Message:

r788@server (orig r786): jim | 2005-12-01 12:07:35 -0800

r851@server: jim | 2005-12-01 12:07:08 -0800
Text updates from G. Moko. Thank You


File:
1 edited

Legend:

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

    r360c931 rf32f537  
    1414  architecture tools</bridgehead>
    1515
    16   <para>This method is recommended for all LiveCD based distro's.</para>
     16  <para os="a">This method is recommended for all LiveCD based distro's.</para>
    1717
    18   <para>During the building of the cross-compile tools you will need to
     18  <para os="b">During the building of the cross-compile tools you will need to
    1919  set a few variables that will be dependent on your particular needs.
    2020  The first variable will be the triplet of the <envar>HOST</envar> machine.
     
    2323  command:</para>
    2424
    25 <screen><userinput>export LFS_HOST="${MACHTYPE}"</userinput></screen>
     25<screen os="c"><userinput>export LFS_HOST="${MACHTYPE}"</userinput></screen>
    2626
    27   <para>Now you will need to set the target triplet for the target
    28   architecure. You can do this by running the same command as above, just
     27  <para os="d">Now you will need to set the target triplet for the target
     28  architecture. You can do this by running the same command as above, just
    2929  running it on the target machine. If you can't run the command on the
    3030  target machine, you can use the table at the bottom of this page. Set
    3131  the command using the method listed below:</para>
    3232
    33 <screen><userinput>export LFS_TARGET="{target triplet}"</userinput></screen>
     33<screen os="e"><userinput>export LFS_TARGET="{target triplet}"</userinput></screen>
    3434
    3535  <bridgehead renderas="sect4">Configuration # 2 - Creating same
    3636  architecture tools</bridgehead>
    3737
    38   <para>You can also create <quote>clean</quote> tools on your current
     38  <para os="f">You can also create <quote>clean</quote> tools on your current
    3939  distro. This will ensure that you have all the prerequisites for the
    4040  LFS build.</para>
    4141
    42   <para>You will need to set your host target triplet a little differently.
     42  <para os="g">You will need to set your host target triplet a little differently.
    4343  To set this information you can issue the following commands:</para>
    4444
    45 <screen><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>
     45<screen os="h"><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>
    4646
    47   <para>Now you will need to set the target triplet for the target, which
     47  <para os="i">Now you will need to set the target triplet for the target, which
    4848  in this case is very simple. Set the command using the method listed
    4949  below:</para>
    5050
    51 <screen><userinput>export LFS_TARGET="${MACHTYPE}"</userinput></screen>
     51<screen os="j"><userinput>export LFS_TARGET="${MACHTYPE}"</userinput></screen>
    5252
    5353  <bridgehead renderas="sect4">Sanity Check</bridgehead>
    5454
    55   <para>Let's perform a sanity check to prevent build issues. If our LFS_HOST matches our
     55  <para os="k">Let's perform a sanity check to prevent build issues. If our LFS_HOST matches our
    5656  target, we will get some failures during our cross-compile:</para>
    5757
    58 <screen><userinput>if [ "${LFS_HOST}" = "${LFS_TARGET}" ]; then \
     58<screen os="l"><userinput>if [ "${LFS_HOST}" = "${LFS_TARGET}" ]; then \
    5959  echo "Host and Target can't be the same." ; fi</userinput></screen>
    6060 
    61   <para>If you received an message, "Host and Target can't be the same."
     61  <para os="m">If you received an message, "Host and Target can't be the same."
    6262  You will need to use the other Configuration Method. This will prevent build
    6363  issues during the early phases of the build.</para>
     
    6565  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
    6666
    67   <para>Now we will add these to <filename>~/.bashrc</filename>, just in
     67  <para os="n">Now we will add these to <filename>~/.bashrc</filename>, just in
    6868  case you have to exit and restart building later:</para>
    6969
    70 <screen><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" &gt;&gt; ~/.bashrc
     70<screen os="o"><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" &gt;&gt; ~/.bashrc
    7171echo export LFS_TARGET=\""${LFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    7272
    73   <table>
     73  <table os="p">
    7474    <title>List of architectures, target triplets, and recommended book</title>
    7575    <tgroup cols="2" align="center">
Note: See TracChangeset for help on using the changeset viewer.