[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. clfs-2.1.0-1085-g1a24f05

git git at cross-lfs.org
Mon May 19 21:45:51 PDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, master has been updated
       via  1a24f0578a20e7d67a1cd55e0fec7fd53c07fcba (commit)
       via  bb748ad2828812b2aefd0538f517e8971ff74c85 (commit)
      from  f319d64a494544047d8e125e2672f6570cac041e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1a24f0578a20e7d67a1cd55e0fec7fd53c07fcba
Author: Chris Staub <chris at beaker67.com>
Date:   Tue May 20 00:45:33 2014 -0400

    Replaced separate Build CFLAGS page with unset commands added to clfs user's .bashrc

diff --git a/BOOK/cross-tools/common/cflags.xml b/BOOK/cross-tools/common/cflags.xml
deleted file mode 100644
index 3fbb036..0000000
--- a/BOOK/cross-tools/common/cflags.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch-cross-tools-cflags">
-  <?dbhtml filename="cflags.html"?>
-
-  <title>Build CFLAGS</title>
-
-  <para><envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> must not be
-  set during the building of cross-tools.</para>
-
-  <para>To disable <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>
-  use the following commands:</para>
-
-<screen><userinput>unset CFLAGS
-unset CXXFLAGS</userinput></screen>
-
-  <para>Now add these to <filename>~/.bashrc</filename>, just in
-  case you have to exit and restart building later:</para>
-
-<screen><userinput>echo unset CFLAGS >> ~/.bashrc
-echo unset CXXFLAGS >> ~/.bashrc</userinput></screen>
-
-</sect1>
diff --git a/BOOK/cross-tools/mips-chapter.xml b/BOOK/cross-tools/mips-chapter.xml
index f417c66..eea390f 100644
--- a/BOOK/cross-tools/mips-chapter.xml
+++ b/BOOK/cross-tools/mips-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/>
diff --git a/BOOK/cross-tools/mips64-64-chapter.xml b/BOOK/cross-tools/mips64-64-chapter.xml
index 6d23a8a..059de14 100644
--- a/BOOK/cross-tools/mips64-64-chapter.xml
+++ b/BOOK/cross-tools/mips64-64-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
diff --git a/BOOK/cross-tools/mips64-chapter.xml b/BOOK/cross-tools/mips64-chapter.xml
index db4e3d9..179eb4b 100644
--- a/BOOK/cross-tools/mips64-chapter.xml
+++ b/BOOK/cross-tools/mips64-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
diff --git a/BOOK/cross-tools/ppc-chapter.xml b/BOOK/cross-tools/ppc-chapter.xml
index 2f44778..e3175a1 100644
--- a/BOOK/cross-tools/ppc-chapter.xml
+++ b/BOOK/cross-tools/ppc-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/linux-headers.xml"/>
diff --git a/BOOK/cross-tools/ppc64-64-chapter.xml b/BOOK/cross-tools/ppc64-64-chapter.xml
index 508b6d9..75c6023 100644
--- a/BOOK/cross-tools/ppc64-64-chapter.xml
+++ b/BOOK/cross-tools/ppc64-64-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
diff --git a/BOOK/cross-tools/ppc64-chapter.xml b/BOOK/cross-tools/ppc64-chapter.xml
index 995b288..0220cb9 100644
--- a/BOOK/cross-tools/ppc64-chapter.xml
+++ b/BOOK/cross-tools/ppc64-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
diff --git a/BOOK/cross-tools/sparc-chapter.xml b/BOOK/cross-tools/sparc-chapter.xml
index 86e8f3e..ffad18b 100644
--- a/BOOK/cross-tools/sparc-chapter.xml
+++ b/BOOK/cross-tools/sparc-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/linux-headers.xml"/>
diff --git a/BOOK/cross-tools/sparc64-64-chapter.xml b/BOOK/cross-tools/sparc64-64-chapter.xml
index 344c9e1..2e67dc6 100644
--- a/BOOK/cross-tools/sparc64-64-chapter.xml
+++ b/BOOK/cross-tools/sparc64-64-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
diff --git a/BOOK/cross-tools/sparc64-chapter.xml b/BOOK/cross-tools/sparc64-chapter.xml
index 0802170..6c9d0af 100644
--- a/BOOK/cross-tools/sparc64-chapter.xml
+++ b/BOOK/cross-tools/sparc64-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
diff --git a/BOOK/cross-tools/x86-chapter.xml b/BOOK/cross-tools/x86-chapter.xml
index 7d151bb..35a282d 100644
--- a/BOOK/cross-tools/x86-chapter.xml
+++ b/BOOK/cross-tools/x86-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/linux-headers.xml"/>
diff --git a/BOOK/cross-tools/x86_64-64-chapter.xml b/BOOK/cross-tools/x86_64-64-chapter.xml
index 4db4d1b..7fccc50 100644
--- a/BOOK/cross-tools/x86_64-64-chapter.xml
+++ b/BOOK/cross-tools/x86_64-64-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
diff --git a/BOOK/cross-tools/x86_64-chapter.xml b/BOOK/cross-tools/x86_64-chapter.xml
index 068953c..09f5186 100644
--- a/BOOK/cross-tools/x86_64-chapter.xml
+++ b/BOOK/cross-tools/x86_64-chapter.xml
@@ -12,7 +12,6 @@
   <title>Constructing Cross-Compile Tools</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
diff --git a/BOOK/final-preps/settingenviron.xml b/BOOK/final-preps/settingenviron.xml
index 0b82f75..0dfe24b 100644
--- a/BOOK/final-preps/settingenviron.xml
+++ b/BOOK/final-preps/settingenviron.xml
@@ -44,7 +44,9 @@ umask 022
 CLFS=/mnt/clfs
 LC_ALL=POSIX
 PATH=/cross-tools/bin:/bin:/usr/bin
-export CLFS LC_ALL PATH</literal>
+export CLFS LC_ALL PATH
+unset CFLAGS
+unset CXXFLAGS</literal>
 EOF</userinput></screen>
 
   <para os="f">The <command>set +h</command> command turns off
@@ -86,9 +88,12 @@ EOF</userinput></screen>
   hashing, helps to ensure that you will be using the cross-compile
   tools to build the temp-system in /tools.</para>
 
-  <para os="k">Finally, to have the environment fully prepared for building the
+  <para os="k">The <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar> should
+  not be set while building the temporary system, so we unset them.</para>
+
+  <para os="l">Finally, to have the environment fully prepared for building the
   temporary tools, source the just-created user profile:</para>
 
-<screen os="l"><userinput>source ~/.bash_profile</userinput></screen>
+<screen os="m"><userinput>source ~/.bash_profile</userinput></screen>
 
 </sect1>
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index 30f73dd..388321a 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -37,6 +37,17 @@
 -->
 
     <listitem>
+      <para>19 May 2014</para>
+      <itemizedlist>
+        <listitem>
+          <para>[Chris] - Added commands to unset CFLAGS and CXXFLAGS to the
+          clfs user's default .bashrc, and removed the separate page where
+          this was done.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>18 May 2014</para>
       <itemizedlist>
         <listitem>

commit bb748ad2828812b2aefd0538f517e8971ff74c85
Author: Chris Staub <chris at beaker67.com>
Date:   Tue May 20 00:44:48 2014 -0400

    Updated date

diff --git a/BOOK/general.ent b/BOOK/general.ent
index d1ecfbe..a89f109 100644
--- a/BOOK/general.ent
+++ b/BOOK/general.ent
@@ -2,7 +2,7 @@
 
 <!ENTITY month "05"> <!-- Use two digits -->
 <!ENTITY month_name "May">
-<!ENTITY day "18"> <!-- Use two digits -->
+<!ENTITY day "19"> <!-- Use two digits -->
 <!ENTITY year "2014"> <!-- Use four digits -->
 
 <!ENTITY releasedate "&month_name; &day;, &year;">

-----------------------------------------------------------------------

Summary of changes:
 BOOK/cross-tools/common/cflags.xml      |   28 ----------------------------
 BOOK/cross-tools/mips-chapter.xml       |    1 -
 BOOK/cross-tools/mips64-64-chapter.xml  |    1 -
 BOOK/cross-tools/mips64-chapter.xml     |    1 -
 BOOK/cross-tools/ppc-chapter.xml        |    1 -
 BOOK/cross-tools/ppc64-64-chapter.xml   |    1 -
 BOOK/cross-tools/ppc64-chapter.xml      |    1 -
 BOOK/cross-tools/sparc-chapter.xml      |    1 -
 BOOK/cross-tools/sparc64-64-chapter.xml |    1 -
 BOOK/cross-tools/sparc64-chapter.xml    |    1 -
 BOOK/cross-tools/x86-chapter.xml        |    1 -
 BOOK/cross-tools/x86_64-64-chapter.xml  |    1 -
 BOOK/cross-tools/x86_64-chapter.xml     |    1 -
 BOOK/final-preps/settingenviron.xml     |   11 ++++++++---
 BOOK/general.ent                        |    2 +-
 BOOK/introduction/common/changelog.xml  |   11 +++++++++++
 16 files changed, 20 insertions(+), 44 deletions(-)
 delete mode 100644 BOOK/cross-tools/common/cflags.xml


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list