Author: jim
Date: 2005-04-24 17:51:59 -0600 (Sun, 24 Apr 2005)
New Revision: 5060
Modified:
branches/cross-lfs/BOOK/cross-tools/binutils.xml
branches/cross-lfs/BOOK/cross-tools/gcc-final.xml
branches/cross-lfs/BOOK/cross-tools/gcc-shared.xml
branches/cross-lfs/BOOK/cross-tools/gcc-static.xml
branches/cross-lfs/BOOK/introduction/changelog.xml
branches/cross-lfs/BOOK/materials/patches.xml
branches/cross-lfs/BOOK/temp-system/binutils.xml
branches/cross-lfs/BOOK/temp-system/gcc.xml
Log:
Added posix patches, and fixed some wording
Modified: branches/cross-lfs/BOOK/cross-tools/binutils.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/binutils.xml 2005-04-24 23:30:46 UTC
(rev 5059)
+++ branches/cross-lfs/BOOK/cross-tools/binutils.xml 2005-04-24 23:51:59 UTC
(rev 5060)
@@ -31,6 +31,11 @@
<sect2 role="installation">
<title>Installation of Cross Binutils</title>
+<para>To make sure that we use the proper syntax for a couple of tools, we
apply the following patch:</para>
+<para>First to make sure that we use the proper syntax for a couple of
tools:</para>
+
+<screen><userinput>patch -Np1 -i
../binutils-&binutils-version;-posix-1.patch</userinput></screen>
+
<para>Create a separate build directory again:</para>
<screen><userinput>mkdir ../binutils-build
Modified: branches/cross-lfs/BOOK/cross-tools/gcc-final.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/gcc-final.xml 2005-04-24 23:30:46 UTC
(rev 5059)
+++ branches/cross-lfs/BOOK/cross-tools/gcc-final.xml 2005-04-24 23:51:59 UTC
(rev 5060)
@@ -27,13 +27,16 @@
<sect2 role="installation">
<title>Installation of GCC Cross Compiler</title>
-<para>Unpack only the gcc-core tarball because neither the C++
-compiler nor the test suite will be needed here.</para>
+<para>We will make a couple essential adjustments to the specs file to point
+to use our build environment:</para>
-<para>First we make an essential adjustment:</para>
-
<screen><userinput>patch -Np1 -i
../gcc-&gcc-version;-specs-2.patch</userinput></screen>
+<para>To make sure that we use the proper syntax for a couple of tools, we
apply
+the following patch:</para>
+
+<screen><userinput>patch -Np1 -i
../gcc-&gcc-version;-posix-1.patch</userinput></screen>
+
<para>Now we will need to setup our StartFile Spec to the correct library
location:</para>
Modified: branches/cross-lfs/BOOK/cross-tools/gcc-shared.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/gcc-shared.xml 2005-04-24 23:30:46 UTC
(rev 5059)
+++ branches/cross-lfs/BOOK/cross-tools/gcc-shared.xml 2005-04-24 23:51:59 UTC
(rev 5060)
@@ -27,13 +27,16 @@
<sect2 role="installation">
<title>Installation of Cross GCC with Shared libgcc</title>
-<para>Unpack only the gcc-core tarball because neither the C++
-compiler nor the test suite will be needed here.</para>
+<para>We will make a couple essential adjustments to the specs file to point
+to use our build environment:</para>
-<para>First we make an essential adjustment:</para>
-
<screen><userinput>patch -Np1 -i
../gcc-&gcc-version;-specs-2.patch</userinput></screen>
+<para>To make sure that we use the proper syntax for a couple of tools, we
apply
+the following patch:</para>
+
+<screen><userinput>patch -Np1 -i
../gcc-&gcc-version;-posix-1.patch</userinput></screen>
+
<para>Now we will need to setup our StartFile Spec to the correct library
location:</para>
Modified: branches/cross-lfs/BOOK/cross-tools/gcc-static.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/gcc-static.xml 2005-04-24 23:30:46 UTC
(rev 5059)
+++ branches/cross-lfs/BOOK/cross-tools/gcc-static.xml 2005-04-24 23:51:59 UTC
(rev 5060)
@@ -30,10 +30,16 @@
<para>Unpack only the gcc-core tarball because neither the C++
compiler nor the test suite will be needed here.</para>
-<para>First correct we make an essential adjustment:</para>
+<para>We will make a couple essential adjustments to the specs file to point
+to use our build environment:</para>
<screen><userinput>patch -Np1 -i
../gcc-&gcc-version;-specs-2.patch</userinput></screen>
+<para>To make sure that we use the proper syntax for a couple of tools, we
apply
+the following patch:</para>
+
+<screen><userinput>patch -Np1 -i
../gcc-&gcc-version;-posix-1.patch</userinput></screen>
+
<para>Now we will need to setup our StartFile Spec to the correct library
location:</para>
Modified: branches/cross-lfs/BOOK/introduction/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/changelog.xml 2005-04-24 23:30:46 UTC
(rev 5059)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml 2005-04-24 23:51:59 UTC
(rev 5060)
@@ -106,6 +106,7 @@
<listitem><para>Removed libidn in cross-tools glibc start
files.</para></listitem>
<listitem><para>Removed --disable-selinux from cross-tools
glibc.</para></listitem>
<listitem><para>Fixed variables in temp-system to add to ~/.bashrc
properly.</para></listitem>
+<listitem><para>Added posix patches.</para></listitem>
</itemizedlist>
</listitem>
</itemizedlist>
Modified: branches/cross-lfs/BOOK/materials/patches.xml
===================================================================
--- branches/cross-lfs/BOOK/materials/patches.xml 2005-04-24 23:30:46 UTC
(rev 5059)
+++ branches/cross-lfs/BOOK/materials/patches.xml 2005-04-24 23:51:59 UTC
(rev 5060)
@@ -16,7 +16,7 @@
<variablelist role="materials">
<varlistentry>
-<term>Bash Various Fixes - 21 KB:</term>
+<term>Bash Various Fixes - 23 KB:</term>
<listitem>
<para><ulink
url="&patches-root;bash/bash-&bash-version;-fixes-3.patch"/></para>
</listitem>
@@ -30,6 +30,13 @@
</varlistentry>
<varlistentry>
+<term>Binutils Posix Patch - 1 KB:</term>
+<listitem>
+<para><ulink
url="&patches-root;binutils/binutils-&binutils-version;-posix-1.patch"/></para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
<term>Coreutils Suppress Uptime, Kill, Su Patch - 16 KB:</term>
<listitem>
<para><ulink
url="&patches-root;coreutils/coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch"/></para>
@@ -65,9 +72,9 @@
</varlistentry>
<varlistentry>
-<term>GCC No-Fixincludes Patch - 1 KB:</term>
+<term>GCC Posix Patch - 11 KB:</term>
<listitem>
-<para><ulink
url="&patches-root;gcc/gcc-&gcc-version;-no_fixincludes-1.patch"/></para>
+<para><ulink url="&patches-root;gcc/gcc-&gcc-version;-posix-1.patch"/></para>
</listitem>
</varlistentry>
Modified: branches/cross-lfs/BOOK/temp-system/binutils.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/binutils.xml 2005-04-24 23:30:46 UTC
(rev 5059)
+++ branches/cross-lfs/BOOK/temp-system/binutils.xml 2005-04-24 23:51:59 UTC
(rev 5060)
@@ -32,13 +32,11 @@
linker and assembler to determine which of their own features to
enable.</para>
-<para>This package is known to have issues when its default
-optimization flags (including the <parameter>-march</parameter> and
-<parameter>-mcpu</parameter> options) are changed. If any environment
-variables that override default optimizations have been defined, such
-as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
-unset them when building Binutils.</para>
+<para>To make sure that we use the proper syntax for a couple of tools, we
apply
+the following patch:</para>
+<screen><userinput>patch -Np1 -i
../binutils-&binutils-version;-posix-1.patch</userinput></screen>
+
<para>The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:</para>
@@ -52,7 +50,6 @@
command like this: <userinput>time { ./configure ... && ...
&& ... && make install; }</userinput>.</para></note>
-
<para>Now prepare Binutils for compilation:</para>
<screen><userinput>../binutils-&binutils-version;/configure \
Modified: branches/cross-lfs/BOOK/temp-system/gcc.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/gcc.xml 2005-04-24 23:30:46 UTC (rev
5059)
+++ branches/cross-lfs/BOOK/temp-system/gcc.xml 2005-04-24 23:51:59 UTC (rev
5060)
@@ -26,16 +26,16 @@
<sect2 role="installation">
<title>Installation of GCC</title>
-<para>Because the C and the C++ compilers will be built, unpack both
-the core and the g++ tarballs (as well as test suite, if you want to
-run the tests). By unpacking them in the working directory, they will
-all unfold into a single <filename
-class="directory">gcc-&gcc-version;/</filename> subdirectory.</para>
+<para>We will make a couple essential adjustments to the specs file to point
+to use our build environment:</para>
-<para>First correct a known problem and make an essential adjustment:</para>
-
<screen><userinput>patch -Np1 -i
../gcc-&gcc-version;-specs-2.patch</userinput></screen>
+<para>To make sure that we use the proper syntax for a couple of tools, we
apply
+the following patch:</para>
+
+<screen><userinput>patch -Np1 -i
../gcc-&gcc-version;-posix-1.patch</userinput></screen>
+
<!-- This patch may or may not be needed testing needs to be done
patch -Np1 -i ../gcc-&gcc-version;-fix_configure_for_target_native-1.patch
-->
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page