Ignore:
Timestamp:
May 20, 2014, 10:17:36 AM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
fab5058
Parents:
40e9518
Message:

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

File:
1 moved

Legend:

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

    r40e9518 r5585711  
    2727<screen os="d"><userinput>export CLFS_TARGET="x86_64-unknown-linux-gnu"</userinput></screen>
    2828
    29   <para os="m1">Now set the target triplet for 32 bits:</para>
     29  <para os="e">Now set the target triplet for 32 bits:</para>
    3030
    31 <screen os="m2"><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
     31<screen os="f"><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
     32
     33  <para os="g">We will need to setup target-specific flags for the compiler
     34  and linker:</para>
     35
     36<screen os="h"><userinput>export BUILD32="-m32"
     37export BUILD64="-m64"</userinput></screen>
    3238
    3339  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
    3440
    35     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    36     href="../x86/variables.xml"
    37     xpointer="xpointer(//*[@os='e'])"/>
     41  <para os="i">Now add the host and target variables, and compiler and linker
     42  flags, to <filename>~/.bashrc</filename>, just in case you have to exit and
     43  restart building later:</para>
    3844
    39 <screen os="f"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
     45<screen os="j"><userinput>cat &gt;&gt; ~/.bashrc &lt;&lt; EOF
    4046export CLFS_HOST="${CLFS_HOST}"
    4147export CLFS_TARGET="${CLFS_TARGET}"
    4248export CLFS_TARGET32="${CLFS_TARGET32}"
     49export BUILD32="${BUILD32}"
     50export BUILD64="${BUILD64}"
    4351EOF</userinput></screen>
    4452
Note: See TracChangeset for help on using the changeset viewer.