Ignore:
Timestamp:
May 20, 2014, 9:37:20 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
0982dd4
Parents:
9a65833
git-author:
Chris Staub <chris@…> (05/20/14 10:17:36)
git-committer:
Chris Staub <chris@…> (05/20/14 21:37:20)
Message:

Merged Build Flags pages with Build Variables, and moved those to final-preps

File:
1 moved

Legend:

Unmodified
Added
Removed
  • BOOK/final-preps/sparc64/variables.xml

    r9a65833 r01817d3  
    66]>
    77
    8 <sect1 id="ch-cross-tools-flags">
    9   <title>Build Flags</title>
    10   <?dbhtml filename="flags.html"?>
     8<sect1 id="ch-cross-tools-variables">
     9  <?dbhtml filename="variables.html"?>
    1110
    12   <para os="a">We will need to setup target specific flags for the compiler
    13   and linkers. You can choose the appropriate BUILD32 and BUILD64
     11  <title>Build Variables</title>
     12
     13  <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
     14
     15    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     16    href="../x86/variables.xml"
     17    xpointer="xpointer(//*[@os='a'])"/>
     18
     19    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     20    href="../x86/variables.xml"
     21    xpointer="xpointer(//*[@os='b'])"/>
     22
     23    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     24    href="../x86/variables.xml"
     25    xpointer="xpointer(//*[@os='c'])"/>
     26
     27<screen os="d"><userinput>export CLFS_TARGET="sparc64-unknown-linux-gnu"</userinput></screen>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../x86_64/variables.xml"
     31    xpointer="xpointer(//*[@os='e'])"/>
     32
     33<screen os="f"><userinput>export CLFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
     34
     35  <para os="g">We will need to setup target specific flags for the compiler
     36  and linkers. You can choose the appropriate BUILD32, BUILD64, and GCCTARGET
    1437  from the table at the bottom of the page.</para>
    1538
    16 <screen os="b"><userinput>export BUILD32="<replaceable>[BUILD32 entries]</replaceable>"
     39<screen os="h"><userinput>export BUILD32="<replaceable>[BUILD32 entries]</replaceable>"
    1740export BUILD64="<replaceable>[BUILD64 entries]</replaceable>"
    1841export GCCTARGET="<replaceable>[GCCTARGET entries]</replaceable>"</userinput></screen>
    1942
    20    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    21    href="../multilib/flags.xml"
    22    xpointer="xpointer(//*[@os='c'])"/>
     43  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
    2344
    24 <screen os="d"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     45    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     46    href="../x86_64/variables.xml"
     47    xpointer="xpointer(//*[@os='i'])"/>
     48
     49<screen os="j"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     50export CLFS_HOST="${CLFS_HOST}"
     51export CLFS_TARGET="${CLFS_TARGET}"
     52export CLFS_TARGET32="${CLFS_TARGET32}"
    2553export BUILD32="${BUILD32}"
    2654export BUILD64="${BUILD64}"
     
    2856EOF</userinput></screen>
    2957
    30   <para os="e">The following table gives the entires for different Sparc 64 capable
     58  <para os="k">The following table gives the entries for different Sparc 64 capable
    3159  processors. Pick the processor that matches your system. Note: GCC settings are
    3260  only needed in the early sections of the book, and will not be used in the final-system
    3361  builds.</para>
    3462
    35   <table os="f">
     63  <table os="l">
    3664    <title>List of 32-Bit settings, 64-Bit Build settings, and GCC setting</title>
    3765    <?dbfo table-width="7in" ?>
Note: See TracChangeset for help on using the changeset viewer.