|
@@ -131,11 +131,15 @@ cd ../gcc-build</userinput></screen>
|
|
|
--disable-multilib \
|
|
|
--disable-decimal-float \
|
|
|
--disable-threads \
|
|
|
- --disable-libmudflap \
|
|
|
- --disable-libssp \
|
|
|
+ --disable-libatomic \
|
|
|
--disable-libgomp \
|
|
|
+ --disable-libitm \
|
|
|
+ --disable-libmudflap \
|
|
|
--disable-libquadmath \
|
|
|
- --enable-languages=c \
|
|
|
+ --disable-libsanitizer \
|
|
|
+ --disable-libssp \
|
|
|
+ --disable-libstdc++-v3 \
|
|
|
+ --enable-languages=c,c++ \
|
|
|
--with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
|
|
|
--with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
|
|
|
|
|
@@ -193,10 +197,14 @@ cd ../gcc-build</userinput></screen>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
- <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath</parameter></term>
|
|
|
+ <term><parameter>--disable-decimal-float, --disable-threads,
|
|
|
+ --disable-libatomic, --disable-libgomp, --disable-libitm,
|
|
|
+ --disable-libmudflap, --disable-libquadmath, --disable-libsanitizer,
|
|
|
+ --disable-libssp, --disable-libstdc++-v3</parameter></term>
|
|
|
<listitem>
|
|
|
<para>These switches disable support for the decimal floating point
|
|
|
- extension, threading, libmudflap, libssp and libgomp and libquadmath
|
|
|
+ extension, threading, libatomic, libgomp, libitm, libmudflap,
|
|
|
+ libquadmath, libsanitizer, libssp and the C++ standard library
|
|
|
respectively. These features will fail to compile when building a
|
|
|
cross-compiler and are not necessary for the task of cross-compiling
|
|
|
the temporary libc.</para>
|
|
@@ -212,10 +220,10 @@ cd ../gcc-build</userinput></screen>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
- <term><parameter>--enable-languages=c</parameter></term>
|
|
|
+ <term><parameter>--enable-languages=c,c++</parameter></term>
|
|
|
<listitem>
|
|
|
- <para>This option ensures that only the C compiler is built.
|
|
|
- This is the only language needed now.</para>
|
|
|
+ <para>This option ensures that only the C and C++ compilers are built.
|
|
|
+ These are the only languages needed now.</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|