[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. d6aaa67a432e1247b3a597cd473c1d104419236c
git
git at cross-lfs.org
Mon Nov 12 18:23:02 PST 2012
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 d6aaa67a432e1247b3a597cd473c1d104419236c (commit)
via db127375efbdd54a4a43ddf598b463f58fc02f36 (commit)
from e87c833bb4f8fd636f4ba23168685f4bd7edb318 (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 d6aaa67a432e1247b3a597cd473c1d104419236c
Author: Chris Staub <chris at beaker67.com>
Date: Mon Nov 12 21:22:54 2012 -0500
Updated Host System Requirements and added compile check
diff --git a/BOOK/prologue/common/hostreqs.xml b/BOOK/prologue/common/hostreqs.xml
index 3ae50bd..d0cb9d2 100644
--- a/BOOK/prologue/common/hostreqs.xml
+++ b/BOOK/prologue/common/hostreqs.xml
@@ -39,8 +39,7 @@
</listitem>
<listitem>
- <para><emphasis role="strong">Coreutils-5.0</emphasis> (or Sh-Utils-2.0,
- Textutils-2.0, and Fileutils-4.1)</para>
+ <para><emphasis role="strong">Coreutils-5.0</emphasis></para>
</listitem>
<listitem>
@@ -109,7 +108,9 @@
</itemizedlist>
- <para>To see whether your host system has all the appropriate versions, run the following:</para>
+ <para>To see whether your host system has all the appropriate versions,
+ create and run the following script. Read the output carefully for any
+ errors, and make sure to install any packages that are reported as not found.</para>
<screen role="nodump"><userinput>cat > version-check.sh << "EOF"
<literal>#!/bin/bash
@@ -135,8 +136,14 @@ patch --version | head -n1
sed --version | head -n1
tar --version | head -n1
makeinfo --version | head -n1
-xz --version | head -n1</literal>
-
+xz --version | head -n1
+echo 'main(){}' | gcc -v -o /dev/null -x c - > dummy.log 2>&1
+if grep -q ' error' dummy.log; then
+ echo "Compilation successful" && rm dummy.log
+else
+ echo "Compilation FAILED - more development packages may need to be \
+ installed. If you like, you can also view dummy.log for more details."
+fi</literal>
EOF
bash version-check.sh</userinput></screen>
commit db127375efbdd54a4a43ddf598b463f58fc02f36
Author: Chris Staub <chris at beaker67.com>
Date: Mon Nov 12 20:20:43 2012 -0500
Removed unneeded variable from temp-system grep
diff --git a/BOOK/temp-system/common/mpc.xml b/BOOK/temp-system/common/mpc.xml
index 06fb393..41c3c1d 100644
--- a/BOOK/temp-system/common/mpc.xml
+++ b/BOOK/temp-system/common/mpc.xml
@@ -24,7 +24,7 @@
<para os="a">Prepare MPC for compilation:</para>
-<screen os="b"><userinput>EGREP="grep -E" ./configure --prefix=/tools \
+<screen os="b"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
<para os="c">Compile the package:</para>
-----------------------------------------------------------------------
Summary of changes:
BOOK/prologue/common/hostreqs.xml | 17 ++++++++++++-----
BOOK/temp-system/common/mpc.xml | 2 +-
2 files changed, 13 insertions(+), 6 deletions(-)
hooks/post-receive
--
Cross-LFS Book
More information about the Clfs-commits
mailing list