r2171 - in profiles/CLFS/trunk: alpha alpha/cross-tools config mips mips/cross-tools mips64 mips64/cross-tools mips64-64 mips64-64/cross-tools ppc ppc/cross-tools prep sparc sparc/cross-tools sparc64 sparc64/cross-tools sparc64-64 sparc64-64/cross-tools x86 x86/cross-tools x86_64 x86_64/cross-tools x86_64-64 x86_64-64/cross-tools

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Sat Nov 12 13:05:30 PST 2005


Author: thomasp
Date: 2005-11-12 14:05:22 -0700 (Sat, 12 Nov 2005)
New Revision: 2171

Added:
   profiles/CLFS/trunk/alpha/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml
   profiles/CLFS/trunk/mips/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/mips64-64/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/mips64/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/ppc/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/sparc/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/sparc64-64/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/sparc64/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/x86/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/x86/cross-tools/glibc-headers.xml
   profiles/CLFS/trunk/x86_64-64/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/x86_64-64/cross-tools/glibc-headers.xml
   profiles/CLFS/trunk/x86_64/cross-tools/gcc-static.xml
   profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml
Modified:
   profiles/CLFS/trunk/alpha/LFS.xml
   profiles/CLFS/trunk/config/common-package.ent
   profiles/CLFS/trunk/mips/LFS.xml
   profiles/CLFS/trunk/mips64-64/LFS.xml
   profiles/CLFS/trunk/mips64/LFS.xml
   profiles/CLFS/trunk/ppc/LFS.xml
   profiles/CLFS/trunk/prep/addinguser.xml
   profiles/CLFS/trunk/prep/creatingcrosstoolsdir.xml
   profiles/CLFS/trunk/prep/creatingtoolsdir.xml
   profiles/CLFS/trunk/prep/settingenvironment.xml
   profiles/CLFS/trunk/sparc/LFS.xml
   profiles/CLFS/trunk/sparc64-64/LFS.xml
   profiles/CLFS/trunk/sparc64/LFS.xml
   profiles/CLFS/trunk/x86/LFS.xml
   profiles/CLFS/trunk/x86_64-64/LFS.xml
   profiles/CLFS/trunk/x86_64/LFS.xml
Log:
* Added glibc-headers to alpha, x86, x86_64 and x86_64-64
* Added gcc-static to all arches
* Added keyword blocks to prep section files


Modified: profiles/CLFS/trunk/alpha/LFS.xml
===================================================================
--- profiles/CLFS/trunk/alpha/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/alpha/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,8 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="../common/cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/glibc-headers.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/alpha/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/alpha/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/alpha/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/alpha/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/alpha/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Added: profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml
===================================================================
--- profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="glibc" version="&glibc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&glibc-package;</file>
+	<url>&glibc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&glibc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+      	<name>glibc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&glibc-directory;</base>
+      </stageinfo>
+      <copy>
+	<source>configure</source>
+	<destination>configure.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'s/3.4/3.[0-9]/g'</param>
+	<param>configure.orig</param>
+	<param>> configure</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <configure command="../&glibc-directory;/configure">
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-sanity-checks</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-binutils=/cross-tools/${LFS_TARGET}/bin</param>
+      </configure>
+      <make>
+	<param>install-headers</param>
+      </make>
+      <mkdir>
+	<option>parents</option>
+	<name>/tools/include/bits</name>
+      </mkdir>
+      <copy>
+	<source>bits/stdio_lim.h</source>
+	<destination>/tools/include/bits</destination>
+      </copy>
+      <execute command="touch">
+	<param>/tools/include/gnu/stubs.h</param>
+      </execute>
+      <copy>
+	<source>../&glibc-directory;/nptl/sysdeps/pthread/pthread.h</source>
+	<destination>/tools/include</destination>
+      </copy>
+      <copy>
+	<source>../&glibc-directory;/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h</source>
+	<destination>/tools/include/bits</destination>
+      </copy>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+      <remove>&build_dir;/glibc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/config/common-package.ent
===================================================================
--- profiles/CLFS/trunk/config/common-package.ent	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/config/common-package.ent	2005-11-12 21:05:22 UTC (rev 2171)
@@ -175,8 +175,11 @@
 <!ENTITY gcc-patches-url "&patches-mirror;/gcc/">
 
 <!ENTITY gcc-cross-search-paths-patch-md5 "0c75b561554e3c2e63198beb1b938e3f">
-<!ENTITY gcc-cross-search-patch-patch "gcc-&gcc-version;-cross_search_paths-1.patch">
+<!ENTITY gcc-cross-search-paths-patch "gcc-&gcc-version;-cross_search_paths-1.patch">
 
+<!ENTITY gcc-mips-pure64-patch-md5 "3d4f72afb125172ffac16ddc8bc836f4">
+<!ENTITY gcc-mips-pure64-patch "gcc-&gcc-version;-mips_pure64-1.patch">
+
 <!ENTITY gcc-mips-tls-patch-md5 "e6ac3f5e1945b369ea284627e5f0e254">
 <!ENTITY gcc-mips-tls-patch "gcc-&gcc-version;-mips_tls-1.patch">
 

Modified: profiles/CLFS/trunk/mips/LFS.xml
===================================================================
--- profiles/CLFS/trunk/mips/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/mips/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,7 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="../common/cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/mips/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/mips/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/mips/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-mips-tls-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-mips-tls-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-mips-tls-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/mips/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/mips64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/mips64/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/mips64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,7 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/mips64/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/mips64/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/mips64/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1 @@
+link ../../mips/cross-tools/gcc-static.xml
\ No newline at end of file


Property changes on: profiles/CLFS/trunk/mips64/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:special
   + *

Modified: profiles/CLFS/trunk/mips64-64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/mips64-64/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/mips64-64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,7 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/mips64-64/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/mips64-64/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/mips64-64/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-pure64-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-pure64-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-mips-tls-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-mips-tls-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-mips-pure64-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-mips-pure64-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-pure64-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-mips-tls-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-mips-pure64-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--disable-multilib</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/mips64-64/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/ppc/LFS.xml
===================================================================
--- profiles/CLFS/trunk/ppc/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/ppc/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,7 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="../common/cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/ppc/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/ppc/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/ppc/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/rs6000/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/ppc/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/prep/addinguser.xml
===================================================================
--- profiles/CLFS/trunk/prep/addinguser.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/prep/addinguser.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -24,4 +24,9 @@
       <name>&LFS;&build_dir;</name>
     </ownership>
   </stage>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
 </alfs>


Property changes on: profiles/CLFS/trunk/prep/addinguser.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/prep/creatingcrosstoolsdir.xml
===================================================================
--- profiles/CLFS/trunk/prep/creatingcrosstoolsdir.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/prep/creatingcrosstoolsdir.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -23,4 +23,9 @@
       <name>/</name>
     </link>
   </stage>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
 </alfs>


Property changes on: profiles/CLFS/trunk/prep/creatingcrosstoolsdir.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/prep/creatingtoolsdir.xml
===================================================================
--- profiles/CLFS/trunk/prep/creatingtoolsdir.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/prep/creatingtoolsdir.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -33,4 +33,9 @@
       </copy>
     </stage>
   </stage>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
 </alfs>


Property changes on: profiles/CLFS/trunk/prep/creatingtoolsdir.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/prep/settingenvironment.xml
===================================================================
--- profiles/CLFS/trunk/prep/settingenvironment.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/prep/settingenvironment.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -24,4 +24,9 @@
       <replace>&LFS;</replace>
     </search_replace>
   </stage>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
 </alfs>


Property changes on: profiles/CLFS/trunk/prep/settingenvironment.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/sparc/LFS.xml
===================================================================
--- profiles/CLFS/trunk/sparc/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/sparc/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,7 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/sparc/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/sparc/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/sparc/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/sparc/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/sparc/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/sparc64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/sparc64/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/sparc64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,7 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/sparc64/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/sparc64/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/sparc64/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/sparc/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <textdump mode="append">
+	<file>gcc/config/sparc/linux64.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>CFLAGS_FOR_TARGET="${GCCTARGET}"</param>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/sparc64/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/sparc64-64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/sparc64-64/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/sparc64-64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,7 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/sparc64-64/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/sparc64-64/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/sparc64-64/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-pure64-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-pure64-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-pure64-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/sparc/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <textdump mode="append">
+	<file>gcc/config/sparc/linux64.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--disable-multilib</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/sparc64-64/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/x86/LFS.xml
===================================================================
--- profiles/CLFS/trunk/x86/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,8 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="../common/cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/glibc-headers.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/x86/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/x86/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/x86/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Added: profiles/CLFS/trunk/x86/cross-tools/glibc-headers.xml
===================================================================
--- profiles/CLFS/trunk/x86/cross-tools/glibc-headers.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86/cross-tools/glibc-headers.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="glibc" version="&glibc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&glibc-package;</file>
+	<url>&glibc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&glibc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+      	<name>glibc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&glibc-directory;</base>
+      </stageinfo>
+      <copy>
+	<source>configure</source>
+	<destination>configure.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'s/3.4/3.[0-9]/g'</param>
+	<param>configure.orig</param>
+	<param>> configure</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <configure command="../&glibc-directory;/configure">
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-sanity-checks</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-binutils=/cross-tools/${LFS_TARGET}/bin</param>
+      </configure>
+      <make>
+	<param>install-headers</param>
+      </make>
+      <mkdir>
+	<option>parents</option>
+	<name>/tools/include/bits</name>
+      </mkdir>
+      <copy>
+	<source>bits/stdio_lim.h</source>
+	<destination>/tools/include/bits</destination>
+      </copy>
+      <execute command="touch">
+	<param>/tools/include/gnu/stubs.h</param>
+      </execute>
+      <copy>
+	<source>../&glibc-directory;/nptl/sysdeps/pthread/pthread.h</source>
+	<destination>/tools/include</destination>
+      </copy>
+      <copy>
+	<source>../&glibc-directory;/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h</source>
+	<destination>/tools/include/bits</destination>
+      </copy>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+      <remove>&build_dir;/glibc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/x86/cross-tools/glibc-headers.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/x86_64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/x86_64/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86_64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,8 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/glibc-headers.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/x86_64/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/x86_64/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86_64/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1 @@
+link ../../x86/cross-tools/gcc-static.xml
\ No newline at end of file


Property changes on: profiles/CLFS/trunk/x86_64/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:special
   + *

Added: profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml
===================================================================
--- profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="glibc" version="&glibc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&glibc-package;</file>
+	<url>&glibc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&glibc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+      	<name>glibc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&glibc-directory;</base>
+      </stageinfo>
+      <copy>
+	<source>configure</source>
+	<destination>configure.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'s/3.4/3.[0-9]/g'</param>
+	<param>configure.orig</param>
+	<param>> configure</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <configure command="../&glibc-directory;/configure">
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-sanity-checks</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-binutils=/cross-tools/${LFS_TARGET}/bin</param>
+      </configure>
+      <make>
+	<param>install-headers</param>
+      </make>
+      <mkdir>
+	<option>parents</option>
+	<name>/tools/include/bits</name>
+      </mkdir>
+      <copy>
+	<source>bits/stdio_lim.h</source>
+	<destination>/tools/include/bits</destination>
+      </copy>
+      <execute command="touch">
+	<param>/tools/include/gnu/stubs.h</param>
+      </execute>
+      <copy>
+	<source>../&glibc-directory;/nptl/sysdeps/pthread/pthread.h</source>
+	<destination>/tools/include</destination>
+      </copy>
+      <copy>
+	<source>../&glibc-directory;/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h</source>
+	<destination>/tools/include/bits</destination>
+      </copy>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+      <remove>&build_dir;/glibc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Modified: profiles/CLFS/trunk/x86_64-64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/x86_64-64/LFS.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86_64-64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -31,6 +31,8 @@
       </stageinfo>
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
+      <xi:include href="cross-tools/glibc-headers.xml" />
+      <xi:include href="cross-tools/gcc-static.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/x86_64-64/cross-tools/gcc-static.xml
===================================================================
--- profiles/CLFS/trunk/x86_64-64/cross-tools/gcc-static.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86_64-64/cross-tools/gcc-static.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../../DTD/ALFS.dtd" 
+[
+<!ENTITY % general_entities SYSTEM "../../config/general.ent">
+<!ENTITY % common_package_entities SYSTEM "../../config/common-package.ent">
+
+%general_entities;
+%common_package_entities;
+
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gcc-package;</file>
+	<url>&gcc-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-pure64-specs-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-pure64-specs-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-posix-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-posix-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&gcc-cross-search-paths-patch;</file>
+	<url>&gcc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gcc-cross-search-paths-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gcc-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir>
+	<name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-pure64-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&gcc-cross-search-paths-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib"
+	</content>
+      </textdump>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g"</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param> > gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<param>--prefix=/cross-tools</param>
+	<param>--host=${LFS_HOST}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--disable-multilib</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--disable-nls</param>
+	<param>--disable-shared</param>
+	<param>--disable-threads</param>
+	<param>--enable-languages=c</param>
+      </configure>
+      <make>
+	<param>all-gcc</param>
+      </make>
+      <make>
+	<param>install-gcc</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/x86_64-64/cross-tools/gcc-static.xml
___________________________________________________________________
Name: svn:keywords
   + LastChangedDate LastChangedBy LastChangedRevision

Added: profiles/CLFS/trunk/x86_64-64/cross-tools/glibc-headers.xml
===================================================================
--- profiles/CLFS/trunk/x86_64-64/cross-tools/glibc-headers.xml	2005-11-12 03:30:34 UTC (rev 2170)
+++ profiles/CLFS/trunk/x86_64-64/cross-tools/glibc-headers.xml	2005-11-12 21:05:22 UTC (rev 2171)
@@ -0,0 +1 @@
+link ../../x86_64/cross-tools/glibc-headers.xml
\ No newline at end of file


Property changes on: profiles/CLFS/trunk/x86_64-64/cross-tools/glibc-headers.xml
___________________________________________________________________
Name: svn:special
   + *




More information about the alfs-log mailing list