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/x86_64/flags.xml

    r360c931 rf32f537  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to setup target specific flags for the compiler
     13  <para os="a">We will need to setup target specific flags for the compiler
    1414  and linkers.</para>
    1515
    16 <screen><userinput>export BUILD32="-m32"
     16<screen os="b"><userinput>export BUILD32="-m32"
    1717export BUILD64="-m64"</userinput></screen>
    1818
    19   <para>You will need to set your host target triplet for 32 bit:</para>
     19  <para os="c">You will need to set your host target triplet for 32 bits:</para>
    2020
    21 <screen><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
     21<screen os="d"><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
    2222
    23   <para>Let's perform a sanity check to prevent build issues. If our LFS_HOST matches our
     23  <para os="e">Let's perform a sanity check to prevent build issues. If our LFS_HOST matches our
    2424  target, we will get some failures during our cross-compile:</para>
    2525
    26 <screen><userinput>if [ "${LFS_HOST}" = "${LFS_TARGET32}" ]; then \
     26<screen os="f"><userinput>if [ "${LFS_HOST}" = "${LFS_TARGET32}" ]; then \
    2727  echo "Host and Target can't be the same." ; fi</userinput></screen>
    2828
    29   <para>If the above test gave you "Host and Target can't be the same", you will need to change your LFS_HOST to a
     29  <para os="g">If the above test gave you "Host and Target can't be the same", you will need to change your LFS_HOST to a
    3030  a different target triplet:</para>
    3131
    32   <para>If the above test gave you an error, you will need to change your LFS_HOST to a
    33   a different target triplet:</para>
     32<screen os="h"><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>
    3433
    35 <screen><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>
    36 
    37   <para>Lets add the build flags to <filename>~/.bashrc</filename> to
     34  <para os="i">Lets add the build flags to <filename>~/.bashrc</filename> to
    3835  prevent issues if we stop and come back later.</para>
    3936
    40 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
     37<screen os="j"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
    4138echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc
    4239echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bashrc
Note: See TracChangeset for help on using the changeset viewer.