Changeset 01817d3 for BOOK/final-preps
- Timestamp:
- May 20, 2014, 9:37:20 PM (11 years ago)
- 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)
- Location:
- BOOK/final-preps
- Files:
-
- 12 added
- 18 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-preps/common/aboutclfs.xml
r9a65833 r01817d3 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 4 <!ENTITY % general-entities SYSTEM "../ general.ent">4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 5 %general-entities; 6 6 ]> -
BOOK/final-preps/common/abouttestsuites.xml
r9a65833 r01817d3 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 4 <!ENTITY % general-entities SYSTEM "../ general.ent">4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 5 %general-entities; 6 6 ]> -
BOOK/final-preps/common/addinguser.xml
r9a65833 r01817d3 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 4 <!ENTITY % general-entities SYSTEM "../ general.ent">4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 5 %general-entities; 6 6 ]> -
BOOK/final-preps/common/creatingcrossdir.xml
r9a65833 r01817d3 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 4 <!ENTITY % general-entities SYSTEM "../ general.ent">4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 5 %general-entities; 6 6 ]> -
BOOK/final-preps/common/creatingtoolsdir.xml
r9a65833 r01817d3 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 4 <!ENTITY % general-entities SYSTEM "../ general.ent">4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 5 %general-entities; 6 6 ]> -
BOOK/final-preps/common/settingenviron.xml
r9a65833 r01817d3 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 4 <!ENTITY % general-entities SYSTEM "../ general.ent">4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 5 5 %general-entities; 6 6 ]> -
BOOK/final-preps/mips/variables.xml
r9a65833 r01817d3 33 33 <screen os="ad"><userinput>export CLFS_TARGET="mips-unknown-linux-gnu"</userinput></screen> 34 34 35 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 36 35 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../x86 _64/variables.xml"38 href="../x86/variables.xml" 37 39 xpointer="xpointer(//*[@os='e'])"/> 38 40 -
BOOK/final-preps/mips64-64/variables.xml
r9a65833 r01817d3 42 42 43 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 44 href="../x86_64/variables.xml" 45 xpointer="xpointer(//*[@os='e'])"/> 44 href="../x86_64-64/variables.xml" 45 xpointer="xpointer(//*[@os='g'])"/> 46 47 <screen os="h"><userinput>export BUILD64="-mabi=64"</userinput></screen> 48 49 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 46 50 47 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 href="../x86/variables.xml" 49 xpointer="xpointer(//*[@os='f'])"/> 52 href="../x86_64-64/variables.xml" 53 xpointer="xpointer(//*[@os='i'])"/> 54 55 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 56 href="../x86_64-64/variables.xml" 57 xpointer="xpointer(//*[@os='j'])"/> 50 58 51 59 </sect1> -
BOOK/final-preps/mips64/variables.xml
r9a65833 r01817d3 39 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 40 href="../x86_64/variables.xml" 41 xpointer="xpointer(//*[@os=' m1'])"/>41 xpointer="xpointer(//*[@os='e'])"/> 42 42 43 <screen os="m2"><userinput>export CLFS_TARGET32="$(echo ${CLFS_TARGET}| sed -e 's/64//g')"</userinput></screen> 43 <screen os="f"><userinput>export CLFS_TARGET32="$(echo ${CLFS_TARGET}| sed -e 's/64//g')"</userinput></screen> 44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 46 href="../x86_64/variables.xml" 47 xpointer="xpointer(//*[@os='g'])"/> 48 49 <screen os="h"><userinput>export BUILD32="-mabi=32" 50 export BUILDN32="-mabi=n32" 51 export BUILD64="-mabi=64"</userinput></screen> 44 52 45 53 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 46 54 47 55 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 href="../x86 /variables.xml"49 xpointer="xpointer(//*[@os=' e'])"/>56 href="../x86_64/variables.xml" 57 xpointer="xpointer(//*[@os='i'])"/> 50 58 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 52 href="../x86_64/variables.xml" 53 xpointer="xpointer(//*[@os='f'])"/> 59 <screen os="j"><userinput>cat >> ~/.bashrc << EOF 60 export CLFS_HOST="${CLFS_HOST}" 61 export CLFS_TARGET="${CLFS_TARGET}" 62 export CLFS_TARGET32="${CLFS_TARGET32}" 63 export BUILD32="${BUILD32}" 64 export BUILDN32="${BUILDN32}" 65 export BUILD64="${BUILD64}" 66 EOF</userinput></screen> 54 67 55 68 </sect1> -
BOOK/final-preps/ppc/variables.xml
r9a65833 r01817d3 27 27 <screen os="d"><userinput>export CLFS_TARGET="powerpc-unknown-linux-gnu"</userinput></screen> 28 28 29 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 30 29 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../x86 _64/variables.xml"32 href="../x86/variables.xml" 31 33 xpointer="xpointer(//*[@os='e'])"/> 32 34 -
BOOK/final-preps/ppc64-64/variables.xml
r9a65833 r01817d3 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../x86_64/variables.xml" 31 xpointer="xpointer(//*[@os='m1'])"/> 32 33 <screen os="m2"><userinput>export CLFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen> 30 href="../x86_64-64/variables.xml" 31 xpointer="xpointer(//*[@os='g'])"/> 34 32 35 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../x86_64/variables.xml" 37 xpointer="xpointer(//*[@os='e'])"/> 34 href="../x86_64-64/variables.xml" 35 xpointer="xpointer(//*[@os='h'])"/> 36 37 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 38 38 39 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../x86_64/variables.xml" 41 xpointer="xpointer(//*[@os='f'])"/> 40 href="../x86_64-64/variables.xml" 41 xpointer="xpointer(//*[@os='i'])"/> 42 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 44 href="../x86_64-64/variables.xml" 45 xpointer="xpointer(//*[@os='j'])"/> 42 46 43 47 </sect1> -
BOOK/final-preps/ppc64/variables.xml
r9a65833 r01817d3 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export CLFS_TARGET=" sparc64-unknown-linux-gnu"</userinput></screen>27 <screen os="d"><userinput>export CLFS_TARGET="powerpc64-unknown-linux-gnu"</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 30 href="../x86_64/variables.xml" 31 xpointer="xpointer(//*[@os=' m1'])"/>31 xpointer="xpointer(//*[@os='e'])"/> 32 32 33 <screen os="m2"><userinput>export CLFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen> 33 <screen os="f"><userinput>export CLFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen> 34 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../x86_64/variables.xml" 37 xpointer="xpointer(//*[@os='g'])"/> 38 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../x86_64/variables.xml" 41 xpointer="xpointer(//*[@os='h'])"/> 34 42 35 43 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 36 44 37 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../x86 /variables.xml"39 xpointer="xpointer(//*[@os=' e'])"/>46 href="../x86_64/variables.xml" 47 xpointer="xpointer(//*[@os='i'])"/> 40 48 41 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 50 href="../x86_64/variables.xml" 43 xpointer="xpointer(//*[@os=' f'])"/>51 xpointer="xpointer(//*[@os='j'])"/> 44 52 45 53 </sect1> -
BOOK/final-preps/sparc-chapter.xml
r9a65833 r01817d3 11 11 12 12 <title>Final Preparations</title> 13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutclfs.xml"/> 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingtoolsdir.xml"/> 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingcrossdir.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="addinguser.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="settingenviron.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="abouttestsuites.xml"/> 13 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/aboutclfs.xml"/> 14 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingtoolsdir.xml"/> 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingcrossdir.xml"/> 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/addinguser.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/variables.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/abouttestsuites.xml"/> 19 20 20 21 </chapter> -
BOOK/final-preps/sparc/variables.xml
r9a65833 r01817d3 27 27 <screen os="d"><userinput>export CLFS_TARGET="sparc-unknown-linux-gnu"</userinput></screen> 28 28 29 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 30 29 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../x86 _64/variables.xml"32 href="../x86/variables.xml" 31 33 xpointer="xpointer(//*[@os='e'])"/> 32 34 -
BOOK/final-preps/sparc64/variables.xml
r9a65833 r01817d3 6 6 ]> 7 7 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"?> 11 10 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 14 37 from the table at the bottom of the page.</para> 15 38 16 <screen os=" b"><userinput>export BUILD32="<replaceable>[BUILD32 entries]</replaceable>"39 <screen os="h"><userinput>export BUILD32="<replaceable>[BUILD32 entries]</replaceable>" 17 40 export BUILD64="<replaceable>[BUILD64 entries]</replaceable>" 18 41 export GCCTARGET="<replaceable>[GCCTARGET entries]</replaceable>"</userinput></screen> 19 42 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> 23 44 24 <screen os="d"><userinput>cat >> ~/.bashrc << 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 >> ~/.bashrc << EOF 50 export CLFS_HOST="${CLFS_HOST}" 51 export CLFS_TARGET="${CLFS_TARGET}" 52 export CLFS_TARGET32="${CLFS_TARGET32}" 25 53 export BUILD32="${BUILD32}" 26 54 export BUILD64="${BUILD64}" … … 28 56 EOF</userinput></screen> 29 57 30 <para os=" e">The following table gives the entires for different Sparc 64 capable58 <para os="k">The following table gives the entries for different Sparc 64 capable 31 59 processors. Pick the processor that matches your system. Note: GCC settings are 32 60 only needed in the early sections of the book, and will not be used in the final-system 33 61 builds.</para> 34 62 35 <table os=" f">63 <table os="l"> 36 64 <title>List of 32-Bit settings, 64-Bit Build settings, and GCC setting</title> 37 65 <?dbfo table-width="7in" ?> -
BOOK/final-preps/x86_64-64/variables.xml
r9a65833 r01817d3 29 29 xpointer="xpointer(//*[@os='d'])"/> 30 30 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 32 href="../x86_64/variables.xml" 33 xpointer="xpointer(//*[@os='g'])"/> 34 35 <screen os="h"><userinput>export BUILD64="-m64"</userinput></screen> 36 31 37 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 32 38 33 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../x86 /variables.xml"35 xpointer="xpointer(//*[@os=' e'])"/>40 href="../x86_64/variables.xml" 41 xpointer="xpointer(//*[@os='i'])"/> 36 42 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../x86/variables.xml" 39 xpointer="xpointer(//*[@os='f'])"/> 43 <screen os="j"><userinput>cat >> ~/.bashrc << EOF 44 export CLFS_HOST="${CLFS_HOST}" 45 export CLFS_TARGET="${CLFS_TARGET}" 46 export BUILD64="${BUILD64}" 47 EOF</userinput></screen> 40 48 41 49 </sect1> -
BOOK/final-preps/x86_64/variables.xml
r9a65833 r01817d3 27 27 <screen os="d"><userinput>export CLFS_TARGET="x86_64-unknown-linux-gnu"</userinput></screen> 28 28 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> 30 30 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" 37 export BUILD64="-m64"</userinput></screen> 32 38 33 39 <bridgehead renderas="sect4">Copy settings to Environment</bridgehead> 34 40 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> 38 44 39 <screen os=" f"><userinput>cat >> ~/.bashrc << EOF45 <screen os="j"><userinput>cat >> ~/.bashrc << EOF 40 46 export CLFS_HOST="${CLFS_HOST}" 41 47 export CLFS_TARGET="${CLFS_TARGET}" 42 48 export CLFS_TARGET32="${CLFS_TARGET32}" 49 export BUILD32="${BUILD32}" 50 export BUILD64="${BUILD64}" 43 51 EOF</userinput></screen> 44 52
Note:
See TracChangeset
for help on using the changeset viewer.