Changeset 8aad4385 for chapter05/gcc-pass1.xml
- Timestamp:
- 03/30/2011 08:24:53 PM (13 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- d404149
- Parents:
- 2285de1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r2285de1 r8aad4385 57 57 mv -v mpc-&mpc-version; mpc</userinput></screen> 58 58 59 <para>Apply a patch that will allow the building of the libiberty and zlib 60 target libraries to be disabled as these do not build correctly in a 61 cross-compiled environment:</para> 62 63 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-crosscompile-patch;</userinput></screen> 64 59 65 <para>The GCC documentation recommends building GCC outside of the 60 66 source directory in a dedicated build directory:</para> … … 70 76 --disable-decimal-float --disable-threads \ 71 77 --disable-libmudflap --disable-libssp \ 72 --disable-libgomp -- enable-languages=c\73 -- with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs\74 -- without-ppl --without-cloog</userinput></screen>78 --disable-libgomp --disable-libquadmath \ 79 --disable-target-libiberty --disable-target-zlib \ 80 --enable-languages=c --without-ppl --without-cloog</userinput></screen> 75 81 76 82 <variablelist> … … 87 93 88 94 <varlistentry> 89 <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp </parameter></term>95 <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath --disable-target-libiberty --disable-target-zlib</parameter></term> 90 96 <listitem> 91 <para>These switches disable support for the decimal floating point extension, 92 threading, libmudflap, libssp and libgomp respectively. These features will fail 93 to compile when building a cross-compiler and are not necessary for the task of 97 <para>These switches disable support for the decimal floating point 98 extension, threading, libmudflap, libssp and libgomp, libquadmath, 99 libiberty and zlib respectively. These features will fail to compile 100 when building a cross-compiler and are not necessary for the task of 94 101 cross-compiling the temporary libc.</para> 95 102 </listitem> … … 109 116 <para>This option ensures that only the C compiler is built. 110 117 This is the only language needed now.</para> 111 </listitem>112 </varlistentry>113 114 <varlistentry>115 <term><parameter>--with-gmp-include=...</parameter></term>116 <listitem>117 <para>This option tells GCC where the GMP headers are located.</para>118 </listitem>119 </varlistentry>120 121 <varlistentry>122 <term><parameter>--with-gmp-lib=...</parameter></term>123 <listitem>124 <para>This option tells GCC where the GMP library is located.</para>125 118 </listitem> 126 119 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.