r1397 - in trunk/BOOK: . chapter01 chapter05
robert at linuxfromscratch.org
robert at linuxfromscratch.org
Sat May 31 17:30:48 MDT 2008
Author: robert
Date: 2008-05-31 17:30:48 -0600 (Sat, 31 May 2008)
New Revision: 1397
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter05/cocoon-toolchain.xml
trunk/BOOK/chapter05/embryo-toolchain.xml
trunk/BOOK/general.ent
Log:
Use --disable-werror for the toolchain in chap5
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2008-05-31 22:57:05 UTC (rev 1396)
+++ trunk/BOOK/chapter01/changelog.xml 2008-05-31 23:30:48 UTC (rev 1397)
@@ -49,6 +49,16 @@
-->
<listitem>
+ <para>May 31st, 2008</para>
+ <itemizedlist>
+ <listitem>
+ <para>[robert] - Use --disable-werror for the toolchain in chap5.
+ Enabling werror doesn't work when the host system is HLFS.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>May 30th, 2008</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/chapter05/cocoon-toolchain.xml
===================================================================
--- trunk/BOOK/chapter05/cocoon-toolchain.xml 2008-05-31 22:57:05 UTC (rev 1396)
+++ trunk/BOOK/chapter05/cocoon-toolchain.xml 2008-05-31 23:30:48 UTC (rev 1397)
@@ -248,7 +248,7 @@
--enable-shared --enable-threads \
--enable-__cxa_atexit --enable-languages=c,c++ \
--with-lib-path=/tools/lib --disable-libstdcxx-pch \
- --enable-checking --enable-werror</userinput></screen>
+ --enable-checking --disable-werror</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
Modified: trunk/BOOK/chapter05/embryo-toolchain.xml
===================================================================
--- trunk/BOOK/chapter05/embryo-toolchain.xml 2008-05-31 22:57:05 UTC (rev 1396)
+++ trunk/BOOK/chapter05/embryo-toolchain.xml 2008-05-31 23:30:48 UTC (rev 1397)
@@ -110,7 +110,7 @@
<screen><userinput>../embryo-toolchain/configure --prefix=/tools \
--with-local-prefix=/tools --disable-nls \
--enable-languages=c --enable-checking \
- --enable-werror --enable-bootstrap</userinput></screen>
+ --disable-werror --enable-bootstrap</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -142,15 +142,11 @@
</varlistentry>
<varlistentry>
- <term><parameter>--enable-werror</parameter></term>
+ <term><parameter>--disable-werror</parameter></term>
<listitem>
- <para>This switch enables the -Werror compiler flag during
- stage2 and later. The -Werror flag treats warnings as
- errors and will halt the build process if warnings are
- generated. This switch helps ensure our toolchain is built
- with compliant code, and is usually only triggered by
- prerelease and snapshot packages which have not been
- stabilized.</para>
+ <para>If we're building HLFS from an HLFS host system there will be
+ extra compiler warnings. This switch makes those warnings not cause
+ an error during the build.</para>
</listitem>
</varlistentry>
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2008-05-31 22:57:05 UTC (rev 1396)
+++ trunk/BOOK/general.ent 2008-05-31 23:30:48 UTC (rev 1397)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20080530">
-<!ENTITY releasedate "May 30th, 2008">
+<!ENTITY version "SVN-20080531">
+<!ENTITY releasedate "May 31st, 2008">
<!ENTITY milestone "0.7">
<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
More information about the hlfs-book
mailing list