Changeset d018b81 for BOOK/cross-tools
- Timestamp:
- Jul 28, 2007, 7:43:26 AM (17 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 5ec7618f
- Parents:
- c304f4c
- Location:
- BOOK/cross-tools
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/alpha/glibc-headers.xml
rc304f4c rd018b81 27 27 because this only installs the headers, no compiling takes place. In the 28 28 next Glibc installation, we use the GCC that's built right after this section:</para> 29 29 30 30 <screen os="s2"><userinput>cp -v configure{,.orig} 31 31 sed -e 's/3.4/3.[0-9]/g' configure.orig > configure</userinput></screen> … … 65 65 <variablelist os="ca"> 66 66 <title>The meaning of the configure options:</title> 67 67 68 68 <varlistentry os="ca1"> 69 69 <term><parameter>CC=gcc</parameter></term> … … 72 72 </listitem> 73 73 </varlistentry> 74 74 75 75 <varlistentry os="ca2"> 76 76 <term><parameter>--prefix=/tools</parameter></term> … … 81 81 </listitem> 82 82 </varlistentry> 83 83 84 84 <varlistentry os="ca3"> 85 85 <term><parameter>--build=${CLFS_HOST}</parameter></term> … … 89 89 </listitem> 90 90 </varlistentry> 91 91 92 92 <varlistentry os="ca4"> 93 93 <term><parameter>--host=${CLFS_TARGET}</parameter></term> … … 97 97 </listitem> 98 98 </varlistentry> 99 99 100 100 <varlistentry os="ca5"> 101 101 <term><parameter>--disable-sanity-checks</parameter></term> … … 104 104 </listitem> 105 105 </varlistentry> 106 106 107 107 <varlistentry os="ca6"> 108 108 <term><parameter>--enable-kernel=2.6.0</parameter></term> … … 112 112 </listitem> 113 113 </varlistentry> 114 114 115 115 <varlistentry os="ca7"> 116 116 <term><parameter>--with-headers=/tools/include</parameter></term> … … 122 122 </listitem> 123 123 </varlistentry> 124 124 125 125 <varlistentry os="ca8"> 126 126 <term><parameter>--with-binutils=/cross-tools/${CLFS_TARGET}/bin</parameter></term> … … 129 129 </listitem> 130 130 </varlistentry> 131 131 132 132 </variablelist> 133 133 134 134 <para os="cb">Now, install the headers:</para> 135 135 … … 139 139 we will copy the additional header files we need.</para> 140 140 141 <para os="cf">First we will copy a common file over to <filename 141 <para os="cf">First we will copy a common file over to <filename 142 142 class="directory">/tools/include</filename>:</para> 143 143 … … 150 150 151 151 <para os="cj">Another header is needed for NPTL:</para> 152 153 <screen><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h /tools/include/bits/</userinput></screen> 152 153 <screen><userinput>cp -v ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h \ 154 /tools/include/bits/</userinput></screen> 154 155 155 156 </sect2> -
BOOK/cross-tools/alpha/variables.xml
rc304f4c rd018b81 45 45 <table os="g"> 46 46 <title>Processor Type and Target Triplets</title> 47 <tgroup cols="2" align="center"> 48 <colspec colname="Processor"/> 49 <colspec colname="Triplet"/> 47 48 <tgroup cols="2"> 49 <?dbfo table-width="5in" ?> 50 51 <colspec colnum="1" colwidth="2.5in" colname="Processor"/> 52 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/> 53 50 54 <thead> 51 55 <row> … … 54 58 </row> 55 59 </thead> 60 56 61 <tbody> 57 62 <row> … … 88 93 </row> 89 94 </tbody> 95 90 96 </tgroup> 97 91 98 </table> 92 99 -
BOOK/cross-tools/sparc64-64/flags.xml
rc304f4c rd018b81 14 14 xpointer="xpointer(//*[@os='a'])"/> 15 15 16 <screen os="b"><userinput>export BUILD64=" [BUILD64 entries]"17 export GCCTARGET=" [GCCTARGET entries]"</userinput></screen>16 <screen os="b"><userinput>export BUILD64="<replaceable>[BUILD64 entries]</replaceable>" 17 export GCCTARGET="<replaceable>[GCCTARGET entries]</replaceable>"</userinput></screen> 18 18 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 30 30 <table os="f"> 31 31 <title>List of architectures, target triplets, and recommended book</title> 32 <tgroup cols="2" align="center"> 33 <colspec colname="Processor"/> 34 <colspec colname="Build64"/> 35 <colspec colname="GCC"/> 32 <?dbfo table-width="7in" ?> 33 34 <tgroup cols="3"> 35 36 <colspec colnum="1" colwidth="1in" colname="Processor"/> 37 <colspec colnum="2" colwidth="3.2in" colname="Build64"/> 38 <colspec colnum="3" colwidth="2.8in" colname="GCC"/> 39 36 40 <thead> 37 41 <row> … … 41 45 </row> 42 46 </thead> 47 43 48 <tbody> 44 49 <row> … … 53 58 </row> 54 59 </tbody> 60 55 61 </tgroup> 62 56 63 </table> 57 64 -
BOOK/cross-tools/sparc64/flags.xml
rc304f4c rd018b81 14 14 from the table at the bottom of the page.</para> 15 15 16 <screen os="b"><userinput>export BUILD32=" [BUILD32 entries]"17 export BUILD64=" [BUILD64 entries]"18 export GCCTARGET=" [GCCTARGET entries]"</userinput></screen>16 <screen os="b"><userinput>export BUILD32="<replaceable>[BUILD32 entries]</replaceable>" 17 export BUILD64="<replaceable>[BUILD64 entries]</replaceable>" 18 export GCCTARGET="<replaceable>[GCCTARGET entries]</replaceable>"</userinput></screen> 19 19 20 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 33 33 <table os="f"> 34 34 <title>List of 32-Bit settings, 64-Bit Build settings, and GCC setting</title> 35 <tgroup cols="2" align="center"> 36 <colspec colname="Processor"/> 37 <colspec colname="Build32"/> 38 <colspec colname="Build64"/> 39 <colspec colname="GCC"/> 35 <?dbfo table-width="7in" ?> 36 37 <tgroup cols="4"> 38 39 <colspec colnum="1" colwidth="1in" colname="Processor"/> 40 <colspec colnum="2" colwidth="2in" colname="Build32"/> 41 <colspec colnum="3" colwidth="2in" colname="Build64"/> 42 <colspec colnum="4" colwidth="2in" colname="GCC"/> 43 40 44 <thead> 41 45 <row> … … 46 50 </row> 47 51 </thead> 52 48 53 <tbody> 49 54 <row> … … 60 65 </row> 61 66 </tbody> 67 62 68 </tgroup> 69 63 70 </table> 64 71 -
BOOK/cross-tools/x86/gcc-final.xml
rc304f4c rd018b81 67 67 68 68 <screen os="be"><userinput>cp -v configure{,.orig} 69 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig >configure</userinput></screen> 69 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig > \ 70 configure</userinput></screen> 70 71 71 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/x86/variables.xml
rc304f4c rd018b81 22 22 following command:</para> 23 23 24 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 24 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | \ 25 sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 25 26 26 27 <para os="c">Now you will need to set the triplet for the target … … 42 43 <table os="g"> 43 44 <title>Processor Type and Target Triplets</title> 44 <tgroup cols="2" align="center"> 45 <colspec colname="Processor"/> 46 <colspec colname="Triplet"/> 45 <?dbfo table-width="5in" ?> 46 47 <tgroup cols="2"> 48 49 <colspec colnum="1" colwidth="2.5in" colname="Processor"/> 50 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/> 51 47 52 <thead> 48 53 <row> … … 51 56 </row> 52 57 </thead> 58 53 59 <tbody> 54 60 <row> … … 73 79 </row> 74 80 </tbody> 81 75 82 </tgroup> 83 76 84 </table> 77 85 -
BOOK/cross-tools/x86_64/gcc-final.xml
rc304f4c rd018b81 68 68 69 69 <screen os="be"><userinput>cp -v configure{,.orig} 70 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig >configure</userinput></screen> 70 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig > \ 71 configure</userinput></screen> 71 72 72 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.