Author: matthew Date: 2010-07-26 12:45:20 -0600 (Mon, 26 Jul 2010) New Revision: 9344
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter06/gcc.xml Log: Make GCC use the system-wide copy of Zlib rather than its bundled version. Fixes #2718. Modified: trunk/BOOK/chapter01/changelog.xml =================================================================== --- trunk/BOOK/chapter01/changelog.xml 2010-07-26 18:44:23 UTC (rev 9343) +++ trunk/BOOK/chapter01/changelog.xml 2010-07-26 18:45:20 UTC (rev 9344) @@ -41,6 +41,11 @@ <para>2010-07-26</para> <itemizedlist> <listitem> + <para>[matthew] - Make GCC use the system-wide copy of Zlib rather + than its bundled version. Fixes + <ulink url="&lfs-ticket-root;2718">#2718</ulink>.</para> + </listitem> + <listitem> <para>[matthew] - Upgrade to Psmisc-22.12. Fixes <ulink url="&lfs-ticket-root;2717">#2717</ulink>.</para> </listitem> Modified: trunk/BOOK/chapter06/gcc.xml =================================================================== --- trunk/BOOK/chapter06/gcc.xml 2010-07-26 18:44:23 UTC (rev 9343) +++ trunk/BOOK/chapter06/gcc.xml 2010-07-26 18:45:20 UTC (rev 9344) @@ -78,12 +78,24 @@ --libexecdir=/usr/lib --enable-shared \ --enable-threads=posix --enable-__cxa_atexit \ --enable-clocale=gnu --enable-languages=c,c++ \ - --disable-multilib --disable-bootstrap</userinput></screen> + --disable-multilib --disable-bootstrap --with-system-zlib</userinput></screen> <para>Note that for other languages, there are some prerequisites that are not available. See the BLFS Book for instructions on how to build all the GCC supported languages.</para> + <variablelist> + <title>The meaning of the new configure option:</title> + + <varlistentry> + <term><parameter>--with-system-zlib</parameter></term> + <listitem> + <para>This switch tells GCC to link to the system installed copy of + the Zlib library, rather than its own internl copy.</para> + </listitem> + </varlistentry> + </variablelist> + <para>Compile the package:</para> <screen><userinput remap="make">make</userinput></screen> -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page