Changeset 50420218 for chapter05/gcc-pass1.xml
- Timestamp:
- 04/28/2013 09:11:44 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 3b60741
- Parents:
- 1026c1ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
r1026c1ee r50420218 106 106 <screen><userinput remap="pre">sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure</userinput></screen> 107 107 108 <para>Do not build the .info files. They are not needed here and109 are broken with the current version of <command>makeinfo</command>.</para>110 111 <screen><userinput remap="pre">sed -i 's/BUILD_INFO=info/BUILD_INFO=/' gcc/configure</userinput></screen>112 113 108 <para>The GCC documentation recommends building GCC outside of the 114 109 source directory in a dedicated build directory:</para> … … 119 114 <para>Prepare GCC for compilation:</para> 120 115 121 <screen><userinput remap="configure">../gcc-&gcc-version;/configure \ 122 --target=$LFS_TGT \ 123 --prefix=/tools \ 124 --with-sysroot=$LFS \ 125 --with-newlib \ 126 --without-headers \ 127 --with-local-prefix=/tools \ 128 --with-native-system-header-dir=/tools/include \ 129 --disable-nls \ 130 --disable-shared \ 131 --disable-multilib \ 132 --disable-decimal-float \ 133 --disable-threads \ 134 --disable-libmudflap \ 135 --disable-libssp \ 136 --disable-libgomp \ 137 --disable-libquadmath \ 138 --enable-languages=c \ 116 <screen><userinput remap="configure">../gcc-&gcc-version;/configure \ 117 --target=$LFS_TGT \ 118 --prefix=/tools \ 119 --with-sysroot=$LFS \ 120 --with-newlib \ 121 --without-headers \ 122 --with-local-prefix=/tools \ 123 --with-native-system-header-dir=/tools/include \ 124 --disable-nls \ 125 --disable-shared \ 126 --disable-multilib \ 127 --disable-decimal-float \ 128 --disable-threads \ 129 --disable-libatomic \ 130 --disable-libgomp \ 131 --disable-libitm \ 132 --disable-libmudflap \ 133 --disable-libquadmath \ 134 --disable-libsanitizer \ 135 --disable-libssp \ 136 --disable-libstdc++-v3 \ 137 --enable-languages=c,c++ \ 139 138 --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \ 140 139 --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen> … … 194 193 195 194 <varlistentry> 196 <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath</parameter></term> 195 <term><parameter>--disable-decimal-float, --disable-threads, 196 --disable-libatomic, --disable-libgomp, --disable-libitm, 197 --disable-libmudflap, --disable-libquadmath, --disable-libsanitizer, 198 --disable-libssp, --disable-libstdc++-v3</parameter></term> 197 199 <listitem> 198 200 <para>These switches disable support for the decimal floating point 199 extension, threading, libmudflap, libssp and libgomp and libquadmath 201 extension, threading, libatomic, libgomp, libitm, libmudflap, 202 libquadmath, libsanitizer, libssp and the C++ standard library 200 203 respectively. These features will fail to compile when building a 201 204 cross-compiler and are not necessary for the task of cross-compiling … … 213 216 214 217 <varlistentry> 215 <term><parameter>--enable-languages=c </parameter></term>216 <listitem> 217 <para>This option ensures that only the C compiler isbuilt.218 Th is is the only languageneeded now.</para>218 <term><parameter>--enable-languages=c,c++</parameter></term> 219 <listitem> 220 <para>This option ensures that only the C and C++ compilers are built. 221 These are the only languages needed now.</para> 219 222 </listitem> 220 223 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.