Add parameters to prevent chapter 5 GCC builds linking to the host's copy of CLooG and PPL. Fixes #2723.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9349 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2010-08-03 20:00:28 +00:00
parent c644cae75c
commit 6123afebc7
3 changed files with 19 additions and 2 deletions

View File

@ -40,6 +40,12 @@
<listitem>
<para>2010-08-03</para>
<itemizedlist>
<listitem>
<para>[matthew] - Add parameters to prevent chapter 5 GCC builds
from linking to the host system's CLooG and PPL libraries that will
not be present in chapter 6. Fixes
<ulink url="&lfs-ticket-root;2723">#2723</ulink>.</para>
</listitem>
<listitem>
<para>[matthew] - Upgrade to Linux-2.6.35. Fixes
<ulink url="&lfs-ticket-root;2728">#2728</ulink>.</para>

View File

@ -68,7 +68,8 @@ cd ../gcc-build</userinput></screen>
--disable-decimal-float --disable-threads \
--disable-libmudflap --disable-libssp \
--disable-libgomp --enable-languages=c \
--with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
--with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
--without-ppl --without-cloog</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@ -122,6 +123,15 @@ cd ../gcc-build</userinput></screen>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--without-ppl, --without-cloog</parameter></term>
<listitem>
<para>These switches prevent GCC from building against the PPL and
CLooG libraries which may be present on the host system, but will not
be available in the chroot environment.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile GCC by running:</para>

View File

@ -157,7 +157,8 @@ cd ../gcc-build</userinput></screen>
--enable-__cxa_atexit --enable-languages=c,c++ \
--disable-libstdcxx-pch --disable-multilib \
--disable-bootstrap \
--with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
--with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
--without-ppl --without-cloog</userinput></screen>
<variablelist>
<title>The meaning of the new configure options:</title>