Changeset 8a77fbd in clfs-embedded for BOOK/cross-tools/common
- Timestamp:
- Oct 14, 2013, 8:07:12 AM (11 years ago)
- Branches:
- master
- Children:
- 2b9574b
- Parents:
- 90309a2
- git-author:
- Andrew Bradford <andrew@…> (10/09/13 10:53:47)
- git-committer:
- Andrew Bradford <andrew@…> (10/14/13 08:07:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/gcc-static.xml
r90309a2 r8a77fbd 30 30 and no Threads</title> 31 31 32 <para os="b">GCC requires the GMP, MPFR, and MPC packages to either be 33 present on the host or to be present in source form within the gcc source 34 tree. Unpack these into the GCC directory after unpacking GCC:</para> 35 36 <screen os="ba"><userinput>tar xf ../mpfr-&mpfr-version;.tar.bz2 37 mv -v mpfr-&mpfr-version; mpfr 38 tar xf ../gmp-&gmp-version;.tar.bz2 39 mv -v gmp-&gmp-version; gmp 40 tar xf ../mpc-&mpc-version;.tar.gz 41 mv -v mpc-&mpc-version; mpc</userinput></screen> 42 32 43 <para os="c">The GCC documentation recommends building GCC outside of the source 33 44 directory in a dedicated build directory:</para> … … 44 55 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 45 56 --with-sysroot=${CLFS} --disable-nls --disable-shared \ 46 --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \ 47 --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \ 57 --without-headers --with-newlib \ 48 58 --disable-decimal-float --disable-libgomp --disable-libmudflap \ 49 59 --disable-libssp --disable-threads --enable-languages=c \ … … 111 121 <listitem> 112 122 <para>Disables the creation of the shared libraries.</para> 113 </listitem>114 </varlistentry>115 116 <varlistentry os="af8">117 <term><parameter>--with-mpfr=${CLFS}/cross-tools</parameter></term>118 <listitem>119 <para>Tells configure where to find the120 <filename class="directory">lib</filename> and121 <filename class="directory">include</filename> directories122 that contain MPFR which was built earlier.</para>123 </listitem>124 </varlistentry>125 126 <varlistentry os="af9">127 <term><parameter>--with-gmp=${CLFS}/cross-tools</parameter></term>128 <listitem>129 <para>Tells configure where to find the130 <filename class="directory">lib</filename> and131 <filename class="directory">include</filename> directories132 that contain GMP which was built earlier.</para>133 </listitem>134 </varlistentry>135 136 <varlistentry os="af10">137 <term><parameter>--with-mpc=${CLFS}/cross-tools</parameter></term>138 <listitem>139 <para>Tells configure where to find the140 <filename class="directory">lib</filename> and141 <filename class="directory">include</filename> directories142 that contain MPC which was built earlier.</para>143 123 </listitem> 144 124 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.