Ignore:
Timestamp:
Feb 21, 2006, 1:26:16 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
cedcdaa
Parents:
e47ec16
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
  • BOOK/cross-tools/sparc64/flags.xml

    re47ec16 r6bb43b3  
    1010  <?dbhtml filename="flags.html"?>
    1111
    12   <para>We will need to setup target specific flags for the compiler
     12  <para os="a">We will need to setup target specific flags for the compiler
    1313  and linkers. You can choose the appropriate BUILD32 and BUILD64
    1414  from the table at the bottom of the page.</para>
    1515
    16 <screen><userinput>export BUILD32="[BUILD32 entries]"
     16<screen os="b"><userinput>export BUILD32="[BUILD32 entries]"
    1717export BUILD64="[BUILD64 entries]"
    1818export GCCTARGET="[GCCTARGET entries]"</userinput></screen>
    1919
    20   <para>You will need to set your host target triplet for 32 bit:</para>
     20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     21   href="../x86_64/flags.xml"
     22   xpointer="xpointer(//*[@os='c'])"/>
    2123
    22 <screen><userinput>export LFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
     24<screen os="d"><userinput>export LFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
    2325
    24   <para>Let's perform a sanity check to prevent build issues. If our LFS_HOST matches our
    25   target, we will get some failures during our cross-compile:</para>
     26   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     27   href="../x86_64/flags.xml"
     28   xpointer="xpointer(//*[@os='e'])"/>
    2629
    27 <screen><userinput>if [ "${LFS_HOST}" = "${LFS_TARGET32}" ]; then \
    28   echo "Host and Target can't be the same." ; fi</userinput></screen>
     30   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     31   href="../x86_64/flags.xml"
     32   xpointer="xpointer(//*[@os='f'])"/>
    2933
    30   <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
    31   a different target triplet:</para>
     34   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35   href="../x86_64/flags.xml"
     36   xpointer="xpointer(//*[@os='g'])"/>
    3237
    33 <screen><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>
     38   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     39   href="../x86_64/flags.xml"
     40   xpointer="xpointer(//*[@os='h'])"/>
    3441
    35   <para>Lets add the build flags to <filename>~/.bashrc</filename> to
    36   prevent issues if we stop and come back later.</para>
     42   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     43   href="../x86_64/flags.xml"
     44   xpointer="xpointer(//*[@os='i'])"/>
    3745
    38 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
     46<screen os="j"><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bashrc
    3947echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bashrc
    4048echo export GCCTARGET=\""${GCCTARGET}\"" &gt;&gt; ~/.bashrc
     
    4250echo export LFS_HOST=\""${LFS_HOST}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    4351
    44   <para>The following table gives the entires for different Sparc 64 capable
     52  <para os="k">The following table gives the entires for different Sparc 64 capable
    4553  processors. Pick the processor that matches your system.</para>
    4654
    47   <table>
     55  <table os="l">
    4856    <title>List of architectures, target triplets, and recommended book</title>
    4957    <tgroup cols="2" align="center">
Note: See TracChangeset for help on using the changeset viewer.