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

    r360c931 rf32f537  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to setup target specific flags for the compiler
    14   and linkers.</para>
     13     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     14     href="../x86_64/flags.xml"
     15     xpointer="xpointer(//*[@os='a'])"/>
    1516
    16 <screen><userinput>export BUILD32="-mabi=32"
     17<screen os="b"><userinput>export BUILD32="-mabi=32"
    1718export BUILDN32="-mabi=n32"
    1819export BUILD64="-mabi=64"</userinput></screen>
    1920
    20   <para>You will need to set your host target triplet for o32 bit:</para>
     21     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     22     href="../x86_64/flags.xml"
     23     xpointer="xpointer(//*[@os='c'])"/>
    2124
    22 <screen><userinput>export LFS_TARGET32="`echo ${LFS_TARGET}| sed -e 's/64//g'`"</userinput></screen>
     25<screen os="d"><userinput>export LFS_TARGET32="`echo ${LFS_TARGET}| sed -e 's/64//g'`"</userinput></screen>
    2326
    24 <screen><userinput>if [ "${LFS_HOST}" = "${LFS_TARGET32}" ]; then \
    25   echo "Host and Target can't be the same." ; fi</userinput></screen>
     27     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     28     href="../x86_64/flags.xml"
     29     xpointer="xpointer(//*[@os='e'])"/>
    2630
    27   <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
    28   a different target triplet:</para>
     31     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     32     href="../x86_64/flags.xml"
     33     xpointer="xpointer(//*[@os='f'])"/>
    2934
    30 <screen><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>
     35     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     36     href="../x86_64/flags.xml"
     37     xpointer="xpointer(//*[@os='g'])"/>
    3138
    32   <para>Lets add the build flags to <filename>~/.bashrc</filename> to
    33   prevent issues if we stop and come back later.</para>
     39     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     40     href="../x86_64/flags.xml"
     41     xpointer="xpointer(//*[@os='h'])"/>
    3442
    35 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
     43     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     44     href="../x86_64/flags.xml"
     45     xpointer="xpointer(//*[@os='i'])"/>
     46
     47<screen os="j"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
    3648echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ~/.bashrc
    3749echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc
Note: See TracChangeset for help on using the changeset viewer.