Changeset e1b2402 in clfs-embedded for BOOK/cross-tools
- Timestamp:
- Jan 24, 2009, 10:22:31 AM (16 years ago)
- Branches:
- master
- Children:
- 4b05af9
- Parents:
- ae582f6
- Location:
- BOOK/cross-tools
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm-chapter.xml
rae582f6 re1b2402 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/variables.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/linux-headers.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 19 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 20 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> -
BOOK/cross-tools/common/binutils.xml
rae582f6 re1b2402 32 32 enable.</para> 33 33 34 <para os="p1">To make sure that the proper syntax is used for a couple of 34 <para os="p1">The following patch contains a number of updates to the 35 &binutils-version; branch by the Binutils developers:</para> 36 37 <screen os="p2"><userinput>patch -Np1 -i ../&binutils-branch_update-patch;</userinput></screen> 38 39 <para os="p3">To make sure that the proper syntax is used for a couple of 35 40 tools, apply the following patch:</para> 36 41 37 <screen os="p 2"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen>42 <screen os="p4"><userinput>patch -Np1 -i ../&binutils-posix-patch;</userinput></screen> 38 43 39 44 <para os="b">The Binutils documentation recommends building Binutils outside of the -
BOOK/cross-tools/common/gcc-final.xml
rae582f6 re1b2402 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 34 href="gcc-static.xml" 35 xpointer="xpointer(//*[@os='p3'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="gcc-static.xml" 39 xpointer="xpointer(//*[@os='p4'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="gcc-static.xml" 35 43 xpointer="xpointer(//*[@os='c'])"/> 36 44 … … 44 52 45 53 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \ 46 --target=${CLFS_TARGET} --disable-multilib\47 48 --enable-languages=c --enable-__cxa_atexit\49 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>54 --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ 55 --with-sysroot=${CLFS} --disable-nls --enable-shared \ 56 --enable-languages=c --enable-c99 --enable-long-long \ 57 --with-mpfr=/cross-tools --with-gmp=/cross-tools</userinput></screen> 50 58 51 59 <variablelist os="af"> … … 55 63 <term><parameter>--enable-languages=c</parameter></term> 56 64 <listitem> 57 <para>This option ensures that only the C compiler is built. If the C++ compiler is needed, use --enable-languages=c,c++</para>65 <para>This option ensures that only the C compiler is built.</para> 58 66 </listitem> 59 67 </varlistentry> 60 68 61 69 <varlistentry os="af2"> 62 <term><parameter>--enable-__cxa_atexit</parameter></term>63 <listitem>64 <para>This option allows use of __cxa_atexit, rather than atexit,65 to register C++ destructors for local statics and global objects66 and is essential for fully standards-compliant handling of destructors.67 It also affects the C++ ABI and therefore results in C++ shared libraries68 and C++ programs that are interoperable with other Linux distributions.</para>69 </listitem>70 </varlistentry>71 72 <varlistentry os="af3">73 70 <term><parameter>--enable-c99</parameter></term> 74 71 <listitem> … … 77 74 </varlistentry> 78 75 79 <varlistentry os="af 4">76 <varlistentry os="af3"> 80 77 <term><parameter>--enable-long-long</parameter></term> 81 78 <listitem> 82 79 <para>Enables long long support in the compiler.</para> 83 </listitem>84 </varlistentry>85 86 <varlistentry os="af5">87 <term><parameter>--enable-threads=posix</parameter></term>88 <listitem>89 <para>This enables C++ exception handling for multi-threaded code.</para>90 80 </listitem> 91 81 </varlistentry> … … 115 105 116 106 <seglistitem> 117 <seg>c ++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov</seg>107 <seg>cc (link to gcc), gcc, gccbug, and gcov</seg> 118 108 <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libmudflap.[a,so], 119 libmudflapth.[a,so], libstdc++.[a,so], and 120 libsupc++.a</seg> 109 and libmudflapth.[a,so]</seg> 121 110 </seglistitem> 122 111 </segmentedlist> … … 133 122 <indexterm zone="ch-cross-tools-gcc-final cc"> 134 123 <primary sortas="b-cc">cc</primary> 135 </indexterm>136 </listitem>137 </varlistentry>138 139 <varlistentry id="cpp">140 <term><command>cpp</command></term>141 <listitem>142 <para>The C preprocessor; it is used by the compiler to expand the143 #include, #define, and similar statements in the source files</para>144 <indexterm zone="ch-cross-tools-gcc-final cpp">145 <primary sortas="b-cpp">cpp</primary>146 </indexterm>147 </listitem>148 </varlistentry>149 150 <varlistentry id="c">151 <term><command>c++</command></term>152 <listitem>153 <para>The C++ compiler</para>154 <indexterm zone="ch-cross-tools-gcc-final c">155 <primary sortas="b-c++">c++</primary>156 </indexterm>157 </listitem>158 </varlistentry>159 160 <varlistentry id="g">161 <term><command>g++</command></term>162 <listitem>163 <para>The C++ compiler</para>164 <indexterm zone="ch-cross-tools-gcc-final g">165 <primary sortas="b-g++">g++</primary>166 124 </indexterm> 167 125 </listitem> … … 220 178 </varlistentry> 221 179 222 <varlistentry id="libstdc">223 <term><filename class="libraryfile">libstdc++</filename></term>224 <listitem>225 <para>The standard C++ library</para>226 <indexterm zone="ch-cross-tools-gcc-final libstdc">227 <primary sortas="c-libstdc++">libstdc++</primary>228 </indexterm>229 </listitem>230 </varlistentry>231 232 <varlistentry id="libsupc">233 <term><filename class="libraryfile">libsupc++</filename></term>234 <listitem>235 <para>Provides supporting routines for the C++ programming236 language</para>237 <indexterm zone="ch-cross-tools-gcc-final libsupc">238 <primary sortas="c-libsupc++">libsupc++</primary>239 </indexterm>240 </listitem>241 </varlistentry>242 243 180 </variablelist> 244 181 -
BOOK/cross-tools/common/gcc-static.xml
rae582f6 re1b2402 28 28 and no Threads</title> 29 29 30 <para os="p1">To make sure that a couple of tools use the proper syntax, 30 <para os="p1">The following patch contains a number of updates to the 31 &gcc-version; branch by the GCC developers:</para> 32 33 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen> 34 35 <para os="p3">To make sure that a couple of tools use the proper syntax, 31 36 apply the following patch:</para> 32 37 33 <screen os="p 2"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>38 <screen os="p4"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen> 34 39 35 40 <para os="c">The GCC documentation recommends building GCC outside of the source … … 41 46 <para os="e">Prepare GCC for compilation:</para> 42 47 43 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \ 44 --target=${CLFS_TARGET} --disable-multilib \ 45 --with-sysroot=${CLFS} --disable-nls --disable-shared \ 46 --without-headers --with-newlib --disable-decimal-float \ 47 --disable-libgomp --disable-libmudflap --disable-libssp \ 48 --disable-threads --enable-languages=c</userinput></screen> 48 <screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 49 ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \ 50 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 51 --with-sysroot=${CLFS} --disable-nls --disable-shared \ 52 --with-mpfr=/cross-tools --with-gmp=/cross-tools \ 53 --without-headers --with-newlib --disable-decimal-float \ 54 --disable-libgomp --disable-libmudflap --disable-libssp \ 55 --disable-threads --enable-languages=c</userinput></screen> 49 56 50 57 <variablelist os="af"> -
BOOK/cross-tools/mips-chapter.xml
rae582f6 re1b2402 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/variables.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 19 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 20 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> -
BOOK/cross-tools/wrt-chapter.xml
rae582f6 re1b2402 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/variables.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 19 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 20 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> -
BOOK/cross-tools/x86-chapter.xml
rae582f6 re1b2402 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/variables.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-headers.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/> 19 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 20 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.