|
@@ -107,23 +107,24 @@ cd ../gcc-build</userinput></screen>
|
|
|
|
|
|
<para>Now prepare GCC for compilation:</para>
|
|
<para>Now prepare GCC for compilation:</para>
|
|
|
|
|
|
-<screen><userinput remap="configure">CC=$LFS_TGT-gcc \
|
|
|
|
-CXX=$LFS_TGT-g++ \
|
|
|
|
-AR=$LFS_TGT-ar \
|
|
|
|
-RANLIB=$LFS_TGT-ranlib \
|
|
|
|
-../gcc-&gcc-version;/configure \
|
|
|
|
- --prefix=/tools \
|
|
|
|
- --with-local-prefix=/tools \
|
|
|
|
- --with-native-system-header-dir=/tools/include \
|
|
|
|
- --enable-clocale=gnu \
|
|
|
|
- --enable-shared \
|
|
|
|
- --enable-threads=posix \
|
|
|
|
- --enable-__cxa_atexit \
|
|
|
|
- --enable-languages=c,c++ \
|
|
|
|
- --disable-libstdcxx-pch \
|
|
|
|
- --disable-multilib \
|
|
|
|
- --disable-bootstrap \
|
|
|
|
- --disable-libgomp \
|
|
|
|
|
|
+<screen><userinput remap="configure">
|
|
|
|
+CC=$LFS_TGT-gcc \
|
|
|
|
+CXX=$LFS_TGT-g++ \
|
|
|
|
+AR=$LFS_TGT-ar \
|
|
|
|
+RANLIB=$LFS_TGT-ranlib \
|
|
|
|
+../gcc-&gcc-version;/configure \
|
|
|
|
+ --prefix=/tools \
|
|
|
|
+ --with-local-prefix=/tools \
|
|
|
|
+ --with-native-system-header-dir=/tools/include \
|
|
|
|
+ --enable-clocale=gnu \
|
|
|
|
+ --enable-shared \
|
|
|
|
+ --enable-threads=posix \
|
|
|
|
+ --enable-__cxa_atexit \
|
|
|
|
+ --enable-languages=c,c++ \
|
|
|
|
+ --disable-libstdcxx-pch \
|
|
|
|
+ --disable-multilib \
|
|
|
|
+ --disable-bootstrap \
|
|
|
|
+ --disable-libgomp \
|
|
--with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
|
|
--with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
|
|
--with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
|
|
--with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
|
|
|
|
|