Changeset e1b2402 in clfs-embedded
- Timestamp:
- Jan 24, 2009, 10:22:31 AM (16 years ago)
- Branches:
- master
- Children:
- 4b05af9
- Parents:
- ae582f6
- Location:
- BOOK
- Files:
-
- 2 added
- 10 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"/> -
BOOK/materials/common/patches.xml
rae582f6 re1b2402 18 18 19 19 <variablelist role="materials"> 20 21 <varlistentry> 22 <term>Binutils Branch Update Patch - <token>&binutils-branch_update-patch-size;</token>:</term> 23 <listitem> 24 <para>Download: <ulink 25 url="&patches-root;&binutils-branch_update-patch;"/></para> 26 <para>MD5 sum: <literal>&binutils-branch_update-patch-md5;</literal></para> 27 </listitem> 28 </varlistentry> 20 29 21 30 <varlistentry> … … 47 56 48 57 <varlistentry> 58 <term>GCC Branch Update Patch - <token>&gcc-branch_update-patch-size;</token>:</term> 59 <listitem> 60 <para>Download: <ulink 61 url="&patches-root;&gcc-branch_update-patch;"/></para> 62 <para>MD5 sum: <literal>&gcc-branch_update-patch-md5;</literal></para> 63 </listitem> 64 </varlistentry> 65 66 <varlistentry> 49 67 <term>GCC Posix Patch - <token>&gcc-posix-patch-size;</token>:</term> 50 68 <listitem> … … 52 70 url="&patches-root;&gcc-posix-patch;"/></para> 53 71 <para>MD5 sum: <literal>&gcc-posix-patch-md5;</literal></para> 72 </listitem> 73 </varlistentry> 74 75 <varlistentry> 76 <term>GMP Branch Update Patch - <token>&gmp-branch_update-patch-size;</token>:</term> 77 <listitem> 78 <para>Download: <ulink 79 url="&patches-root;&gmp-branch_update-patch;"/></para> 80 <para>MD5 sum: <literal>&gmp-branch_update-patch-md5;</literal></para> 81 </listitem> 82 </varlistentry> 83 84 <varlistentry> 85 <term>MPFR Branch Update Patch - <token>&mpfr-branch_update-patch-size;</token>:</term> 86 <listitem> 87 <para>Download: <ulink 88 url="&patches-root;&mpfr-branch_update-patch;"/></para> 89 <para>MD5 sum: <literal>&mpfr-branch_update-patch-md5;</literal></para> 54 90 </listitem> 55 91 </varlistentry> -
BOOK/packages.ent
rae582f6 re1b2402 9 9 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2"> 10 10 <!ENTITY binutils-md5 "17a52219dee5a76c1a9d9b0bfd337d66"> 11 <!ENTITY binutils-home "http://sources.redhat.com/binutils /">11 <!ENTITY binutils-home "http://sources.redhat.com/binutils"> 12 12 13 13 <!ENTITY busybox-version "1.12.1"> … … 30 30 31 31 <!ENTITY gcc-version "4.3.2"> 32 <!ENTITY gcc-size "57,6 16KB">32 <!ENTITY gcc-size "57,648 KB"> 33 33 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2"> 34 34 <!ENTITY gcc-md5 "5dfac5da961ecd5f227c3175859a486d"> 35 35 <!ENTITY gcc-home "http://gcc.gnu.org"> 36 37 <!ENTITY gmp-version "4.2.4"> 38 <!ENTITY gmp-size "1,676 KB"> 39 <!ENTITY gmp-url "&gnu;gmp/gmp-&gmp-version;.tar.bz2"> 40 <!ENTITY gmp-md5 "fc1e3b3a2a5038d4d74138d0b9cf8dbe"> 41 <!ENTITY gmp-home "http://gmplib.org/"> 36 42 37 43 <!ENTITY iana-etc-version "2.20"> … … 54 60 <!ENTITY linux-headers-md5 "91871367451dfe36926f860887657db9"> 55 61 <!ENTITY linux-headers-home "http://headers.cross-lfs.org"> 62 63 <!ENTITY mpfr-version "2.3.2"> 64 <!ENTITY mpfr-size "968 KB"> 65 <!ENTITY mpfr-url "http://www.mpfr.org/mpfr-current/mpfr-&mpfr-version;.tar.bz2"> 66 <!ENTITY mpfr-md5 "527147c097874340cb9cee0579dacf3b"> 67 <!ENTITY mpfr-home "http://www.mpfr.org/"> 56 68 57 69 <!ENTITY uclibc-version "0.9.30-rc3"> -
BOOK/patches.ent
rae582f6 re1b2402 4 4 5 5 <!-- Start of Common Patches --> 6 7 <!ENTITY binutils-branch_update-patch "binutils-&binutils-version;-branch_update-4.patch"> 8 <!ENTITY binutils-branch_update-patch-md5 "4f587bb8161b08e60b7e7bc98c56ff7d"> 9 <!ENTITY binutils-branch_update-patch-size "120 KB"> 6 10 7 11 <!ENTITY binutils-posix-patch "binutils-&binutils-version;-posix-1.patch"> … … 17 21 <!ENTITY busybox-iptunnel_headers-patch-size "4 KB"> 18 22 23 <!ENTITY gcc-branch_update-patch "gcc-&gcc-version;-branch_update-2.patch"> 24 <!ENTITY gcc-branch_update-patch-md5 "07a92e6f10d82ae3ae634a993d6bde82"> 25 <!ENTITY gcc-branch_update-patch-size "864 KB"> 26 19 27 <!ENTITY gcc-posix-patch "gcc-&gcc-version;-posix-1.patch"> 20 28 <!ENTITY gcc-posix-patch-md5 "ed26ea522e014b2e39adf066bd44053b"> 21 <!ENTITY gcc-posix-patch-size "12 KB"> 29 <!ENTITY gcc-posix-patch-size "16 KB"> 30 31 <!ENTITY gmp-branch_update-patch "gmp-&gmp-version;-branch_update-1.patch"> 32 <!ENTITY gmp-branch_update-patch-md5 "31606a19116f646a2d891d639fbfc339"> 33 <!ENTITY gmp-branch_update-patch-size "12 KB"> 34 35 <!ENTITY mpfr-branch_update-patch "mpfr-&mpfr-version;-branch_update-1.patch"> 36 <!ENTITY mpfr-branch_update-patch-md5 "799177f97cae779baad90156bbd3192a"> 37 <!ENTITY mpfr-branch_update-patch-size "20 KB"> 22 38 23 39 <!ENTITY uclibc-flock_fixes-patch "uClibc-&uclibc-version;-flock_fixes-1.patch">
Note:
See TracChangeset
for help on using the changeset viewer.