r2172 - in profiles/CLFS/trunk: alpha alpha/cross-tools common/cross-tools config mips mips/cross-tools mips64 mips64/cross-tools mips64-64 mips64-64/cross-tools multilib/cross-tools ppc ppc/cross-tools 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 14:44:53 PST 2005


Author: thomasp
Date: 2005-11-12 15:44:42 -0700 (Sat, 12 Nov 2005)
New Revision: 2172

Added:
   profiles/CLFS/trunk/common/cross-tools/glibc.xml
   profiles/CLFS/trunk/mips/cross-tools/glibc.xml
   profiles/CLFS/trunk/mips64-64/cross-tools/glibc.xml
   profiles/CLFS/trunk/mips64/cross-tools/glibc-32.xml
   profiles/CLFS/trunk/mips64/cross-tools/glibc-64.xml
   profiles/CLFS/trunk/mips64/cross-tools/glibc-n32.xml
   profiles/CLFS/trunk/multilib/cross-tools/glibc-32.xml
   profiles/CLFS/trunk/multilib/cross-tools/glibc-64.xml
   profiles/CLFS/trunk/ppc/cross-tools/glibc.xml
   profiles/CLFS/trunk/sparc/cross-tools/glibc.xml
   profiles/CLFS/trunk/sparc64-64/cross-tools/glibc.xml
   profiles/CLFS/trunk/sparc64/cross-tools/glibc-32.xml
   profiles/CLFS/trunk/sparc64/cross-tools/glibc-64.xml
   profiles/CLFS/trunk/x86_64-64/cross-tools/glibc.xml
Modified:
   profiles/CLFS/trunk/alpha/LFS.xml
   profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml
   profiles/CLFS/trunk/config/common-package.ent
   profiles/CLFS/trunk/config/general.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/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/cross-tools/glibc-headers.xml
   profiles/CLFS/trunk/x86_64-64/LFS.xml
   profiles/CLFS/trunk/x86_64/LFS.xml
   profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml
Log:
* Fix a couple typos
* Make glibc-headers package names glibc-headers instead of just glibc
* Added glibc build to all arches
* Added build flags needed for multilib and pure64 builds


Modified: profiles/CLFS/trunk/alpha/LFS.xml
===================================================================
--- profiles/CLFS/trunk/alpha/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/alpha/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -33,6 +33,7 @@
       <xi:include href="../common/cross-tools/binutils.xml" />
       <xi:include href="cross-tools/glibc-headers.xml" />
       <xi:include href="cross-tools/gcc-static.xml" />
+      <xi:include href="../common/cross-tools/glibc.xml" />
     </stage>
   </stage>
 </alfs>

Modified: profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml
===================================================================
--- profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/alpha/cross-tools/glibc-headers.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -9,7 +9,7 @@
 
 ]>
 <alfs>
-  <package name="glibc" version="&glibc-version;">
+  <package name="glibc-headers" version="&glibc-version;">
     <stage name="Download and Check">
       <download>
 	<file>&glibc-package;</file>

Added: profiles/CLFS/trunk/common/cross-tools/glibc.xml
===================================================================
--- profiles/CLFS/trunk/common/cross-tools/glibc.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/common/cross-tools/glibc.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,98 @@
+<?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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/common/cross-tools/glibc.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 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/config/common-package.ent	2005-11-12 22:44:42 UTC (rev 2172)
@@ -219,7 +219,7 @@
 <!ENTITY glibc-libgcc-patch "glibc-&glibc-version;-libgcc_eh-1.patch">
 
 <!ENTITY glibc-localedef-segfault-patch-md5 "42452abc6196789e0a83afa1ca7e6e4e">
-<!ENTITY glibc-localedef-segfault-patch "glibc-&glibc-version;-localdef_segfault-1.patch">
+<!ENTITY glibc-localedef-segfault-patch "glibc-&glibc-version;-localedef_segfault-1.patch">
 
 <!ENTITY glibc-mips-nptl-patch-md5 "086940b10e09f514a70c00b9bbf2268e">
 <!ENTITY glibc-mips-nptl-patch "glibc-&glibc-version;-mips_nptl-1.patch">

Modified: profiles/CLFS/trunk/config/general.ent
===================================================================
--- profiles/CLFS/trunk/config/general.ent	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/config/general.ent	2005-11-12 22:44:42 UTC (rev 2172)
@@ -15,7 +15,23 @@
 
 <!ENTITY TERM "linux">
 
-<!-- Refer to the Cross-LFS book Section 5.3 for the proper settings for these variables -->
+<!-- LFS_HOST and LFS_TARGET -->
+<!-- Refer to the Cross-LFS book of the arch being built for in 
+ Section 5.3 for the proper settings for these variables -->
 <!ENTITY lfs-host "">
 <!ENTITY lfs-target "">
 
+<!-- Build Flags -->
+<!-- Refer to the Cross-LFS book of the arch being built for in 
+ Section 5.4 for the proper settings for these variables -->
+<!-- Note: None of these are used in the 32-bit only builds or alpha builds -->
+<!-- LFS_TARGET32 (Only used in multilib builds) -->
+<!ENTITY lfs-target32 "">
+<!-- BUILD32 (Only used in multilib builds) -->
+<!ENTITY build32 "">
+<!-- BUILDN32 (Only used in mips64 multilib build) -->
+<!ENTITY buildn32 "">
+<!-- BUILD64 (Used for multilib and pure64 builds) -->
+<!ENTITY build64 "">
+<!-- GCCTARGET (Used only in the multilib and pure64 sparc64 builds -->
+<!ENTITY gcctarget "">

Modified: profiles/CLFS/trunk/mips/LFS.xml
===================================================================
--- profiles/CLFS/trunk/mips/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/mips/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -32,6 +32,7 @@
       <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" />
+      <xi:include href="cross-tools/glibc.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/mips/cross-tools/glibc.xml
===================================================================
--- profiles/CLFS/trunk/mips/cross-tools/glibc.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/mips/cross-tools/glibc.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,108 @@
+<?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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-mips-nptl-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-mips-nptl-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-mips-nptl-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Modified: profiles/CLFS/trunk/mips64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/mips64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/mips64/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -25,13 +25,20 @@
 	  <variable name="CXXFLAGS" />
 	  <variable name="TERM">&TERM;</variable>
 	  <variable name="HOME">&lfs-user-dir;</variable>
+	  <variable name="BUILD32">&build32;</variable>
+	  <variable name="BUILDN32">&buildn32;</variable>
+	  <variable name="BUILD64">&build64;</variable>
 	  <variable name="LFS_HOST">&lfs-host;</variable>
 	  <variable name="LFS_TARGET">&lfs-target;</variable>
+	  <variable name="LFS_TARGET32">&lfs-target32;</variable>
 	</environment>
       </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" />
+      <xi:include href="cross-tools/glibc-32.xml" />
+      <xi:include href="cross-tools/glibc-n32.xml" />
+      <xi:include href="cross-tools/glibc-64.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/mips64/cross-tools/glibc-32.xml
===================================================================
--- profiles/CLFS/trunk/mips64/cross-tools/glibc-32.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/mips64/cross-tools/glibc-32.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,108 @@
+<?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-32" 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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-mips-nptl-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-mips-nptl-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-mips-nptl-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD32}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET32}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Added: profiles/CLFS/trunk/mips64/cross-tools/glibc-64.xml
===================================================================
--- profiles/CLFS/trunk/mips64/cross-tools/glibc-64.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/mips64/cross-tools/glibc-64.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -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="glibc-64" 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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-mips-nptl-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-mips-nptl-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-mips-nptl-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <textdump mode="append">
+	<file>configparms</file>
+	<content>
+	  =slibdir=/tools/lib64
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD64}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Added: profiles/CLFS/trunk/mips64/cross-tools/glibc-n32.xml
===================================================================
--- profiles/CLFS/trunk/mips64/cross-tools/glibc-n32.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/mips64/cross-tools/glibc-n32.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -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="glibc-n32" 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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-mips-nptl-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-mips-nptl-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-mips-nptl-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <textdump mode="append">
+	<file>configparms</file>
+	<content>
+	  =slibdir=/tools/lib32
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILDN32}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--libdir=/tools/lib32</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Modified: profiles/CLFS/trunk/mips64-64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/mips64-64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/mips64-64/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -25,6 +25,7 @@
 	  <variable name="CXXFLAGS" />
 	  <variable name="TERM">&TERM;</variable>
 	  <variable name="HOME">&lfs-user-dir;</variable>
+	  <variable name="BUILD64">&build64;</variable>
 	  <variable name="LFS_HOST">&lfs-host;</variable>
 	  <variable name="LFS_TARGET">&lfs-target;</variable>
 	</environment>
@@ -32,6 +33,7 @@
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
       <xi:include href="cross-tools/gcc-static.xml" />
+      <xi:include href="cross-tools/glibc.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/mips64-64/cross-tools/glibc.xml
===================================================================
--- profiles/CLFS/trunk/mips64-64/cross-tools/glibc.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/mips64-64/cross-tools/glibc.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,108 @@
+<?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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-mips-nptl-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-mips-nptl-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-mips-nptl-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD64}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Added: profiles/CLFS/trunk/multilib/cross-tools/glibc-32.xml
===================================================================
--- profiles/CLFS/trunk/multilib/cross-tools/glibc-32.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/multilib/cross-tools/glibc-32.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,88 @@
+<?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-32" 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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD32}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET32}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Added: profiles/CLFS/trunk/multilib/cross-tools/glibc-64.xml
===================================================================
--- profiles/CLFS/trunk/multilib/cross-tools/glibc-64.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/multilib/cross-tools/glibc-64.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,95 @@
+<?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-64" 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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <textdump mode="append">
+	<file>configparms</file>
+	<content>
+	  =slibdir=/tools/lib64
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD64}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Modified: profiles/CLFS/trunk/ppc/LFS.xml
===================================================================
--- profiles/CLFS/trunk/ppc/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/ppc/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -32,6 +32,7 @@
       <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" />
+      <xi:include href="cross-tools/glibc.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/ppc/cross-tools/glibc.xml
===================================================================
--- profiles/CLFS/trunk/ppc/cross-tools/glibc.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/ppc/cross-tools/glibc.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,99 @@
+<?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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	  =libc_cv_ppc_machine=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

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

Added: profiles/CLFS/trunk/sparc/cross-tools/glibc.xml
===================================================================
--- profiles/CLFS/trunk/sparc/cross-tools/glibc.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/sparc/cross-tools/glibc.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,108 @@
+<?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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-sparc-tls-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-sparc-tls-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-sparc-tls-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Modified: profiles/CLFS/trunk/sparc64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/sparc64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/sparc64/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -25,13 +25,19 @@
 	  <variable name="CXXFLAGS" />
 	  <variable name="TERM">&TERM;</variable>
 	  <variable name="HOME">&lfs-user-dir;</variable>
+	  <variable name="BUILD32">&build32;</variable>
+	  <variable name="BUILD64">&build64;</variable>
+	  <variable name="GCCTARGET">&gcctarget;</variable>
 	  <variable name="LFS_HOST">&lfs-host;</variable>
 	  <variable name="LFS_TARGET">&lfs-target;</variable>
+	  <variable name="LFS_TARGET32">&lfs-target32;</variable>
 	</environment>
       </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" />
+      <xi:include href="cross-tools/glibc-32.xml" />
+      <xi:include href="cross-tools/glibc-64.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/sparc64/cross-tools/glibc-32.xml
===================================================================
--- profiles/CLFS/trunk/sparc64/cross-tools/glibc-32.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/sparc64/cross-tools/glibc-32.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,108 @@
+<?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-32" 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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-sparc-tls-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-sparc-tls-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-sparc-tls-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD32}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET32}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Added: profiles/CLFS/trunk/sparc64/cross-tools/glibc-64.xml
===================================================================
--- profiles/CLFS/trunk/sparc64/cross-tools/glibc-64.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/sparc64/cross-tools/glibc-64.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -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="glibc-64" 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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-sparc-tls-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-sparc-tls-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-sparc-tls-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	  =libc_cv_sparc64_tls=yes
+	</content>
+      </textdump>
+      <textdump mode="append">
+	<file>configparms</file>
+	<content>
+	  =slibdir=/tools/lib64
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD64}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


Property changes on: profiles/CLFS/trunk/sparc64/cross-tools/glibc-64.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 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/sparc64-64/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -25,6 +25,8 @@
 	  <variable name="CXXFLAGS" />
 	  <variable name="TERM">&TERM;</variable>
 	  <variable name="HOME">&lfs-user-dir;</variable>
+	  <variable name="BUILD64">&build64;</variable>
+	  <variable name="GCCTARGET">&gcctarget;</variable>
 	  <variable name="LFS_HOST">&lfs-host;</variable>
 	  <variable name="LFS_TARGET">&lfs-target;</variable>
 	</environment>
@@ -32,6 +34,7 @@
       <xi:include href="cross-tools/linux-libc-headers.xml" />
       <xi:include href="cross-tools/binutils.xml" />
       <xi:include href="cross-tools/gcc-static.xml" />
+      <xi:include href="cross-tools/glibc.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/sparc64-64/cross-tools/glibc.xml
===================================================================
--- profiles/CLFS/trunk/sparc64-64/cross-tools/glibc.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/sparc64-64/cross-tools/glibc.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,109 @@
+<?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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-sparc-tls-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-sparc-tls-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-sparc-tls-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	  =libc_cv_sparc64_tls=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD64}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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

Modified: profiles/CLFS/trunk/x86/LFS.xml
===================================================================
--- profiles/CLFS/trunk/x86/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/x86/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -33,6 +33,7 @@
       <xi:include href="../common/cross-tools/binutils.xml" />
       <xi:include href="cross-tools/glibc-headers.xml" />
       <xi:include href="cross-tools/gcc-static.xml" />
+      <xi:include href="../common/cross-tools/glibc.xml" />
     </stage>
   </stage>
 </alfs>

Modified: profiles/CLFS/trunk/x86/cross-tools/glibc-headers.xml
===================================================================
--- profiles/CLFS/trunk/x86/cross-tools/glibc-headers.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/x86/cross-tools/glibc-headers.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -9,7 +9,7 @@
 
 ]>
 <alfs>
-  <package name="glibc" version="&glibc-version;">
+  <package name="glibc-headers" version="&glibc-version;">
     <stage name="Download and Check">
       <download>
 	<file>&glibc-package;</file>

Modified: profiles/CLFS/trunk/x86_64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/x86_64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/x86_64/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -25,14 +25,19 @@
 	  <variable name="CXXFLAGS" />
 	  <variable name="TERM">&TERM;</variable>
 	  <variable name="HOME">&lfs-user-dir;</variable>
+	  <variable name="BUILD32">&build32;</variable>
+  	  <variable name="BUILD64">&build64;</variable>
 	  <variable name="LFS_HOST">&lfs-host;</variable>
 	  <variable name="LFS_TARGET">&lfs-target;</variable>
+	  <variable name="LFS_TARGET32">&lfs-target32;</variable>
 	</environment>
       </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" />
+      <xi:include href="../multilib/cross-tools/glibc-32.xml" />
+      <xi:include href="../multilib/cross-tools/glibc-64.xml" />
     </stage>
   </stage>
 </alfs>

Modified: profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml
===================================================================
--- profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/x86_64/cross-tools/glibc-headers.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -9,7 +9,7 @@
 
 ]>
 <alfs>
-  <package name="glibc" version="&glibc-version;">
+  <package name="glibc-headers" version="&glibc-version;">
     <stage name="Download and Check">
       <download>
 	<file>&glibc-package;</file>

Modified: profiles/CLFS/trunk/x86_64-64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/x86_64-64/LFS.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/x86_64-64/LFS.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -25,6 +25,7 @@
 	  <variable name="CXXFLAGS" />
 	  <variable name="TERM">&TERM;</variable>
 	  <variable name="HOME">&lfs-user-dir;</variable>
+	  <variable name="BUILD64">&build64;</variable>
 	  <variable name="LFS_HOST">&lfs-host;</variable>
 	  <variable name="LFS_TARGET">&lfs-target;</variable>
 	</environment>
@@ -33,6 +34,7 @@
       <xi:include href="cross-tools/binutils.xml" />
       <xi:include href="cross-tools/glibc-headers.xml" />
       <xi:include href="cross-tools/gcc-static.xml" />
+      <xi:include href="cross-tools/glibc.xml" />
     </stage>
   </stage>
 </alfs>

Added: profiles/CLFS/trunk/x86_64-64/cross-tools/glibc.xml
===================================================================
--- profiles/CLFS/trunk/x86_64-64/cross-tools/glibc.xml	2005-11-12 21:05:22 UTC (rev 2171)
+++ profiles/CLFS/trunk/x86_64-64/cross-tools/glibc.xml	2005-11-12 22:44:42 UTC (rev 2172)
@@ -0,0 +1,98 @@
+<?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>
+      <download>
+	<file>&glibc-libgcc-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-libgcc-patch-md5;</digest>
+      </download>
+      <download>
+	<file>&glibc-localedef-segfault-patch;</file>
+	<url>&glibc-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&glibc-localedef-segfault-patch-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>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-libgcc-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&glibc-localedef-segfault-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/glibc-build</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =libc_cv_forced_unwind=yes
+	  =libc_cv_c_cleanup=yes
+	</content>
+      </textdump>
+      <configure command="../&glibc-directory;/configure">
+	<prefix>BUILD_CC="gcc"</prefix>
+	<prefix>CC="${LFS_TARGET}-gcc ${BUILD64}"</prefix>
+	<prefix>AR="${LFS_TARGET}-ar"</prefix>
+	<prefix>RANLIB="${LFS_TARGET}-ranlib"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--disable-profile</param>
+	<param>--enable-add-ons</param>
+	<param>--with-tls</param>
+	<param>--enable-kernel=2.6.0</param>
+	<param>--with-__thread</param>
+	<param>--with-binutils=/cross-tools/bin</param>
+	<param>--with-headers=/tools/include</param>
+	<param>--with-cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&glibc-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+


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




More information about the alfs-log mailing list