r2181 - in profiles/CLFS/trunk: mips64 mips64/temp-system multilib/temp-system sparc64 sparc64/temp-system x86_64 x86_64/temp-system

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Sun Nov 13 11:11:49 PST 2005


Author: thomasp
Date: 2005-11-13 12:11:46 -0700 (Sun, 13 Nov 2005)
New Revision: 2181

Added:
   profiles/CLFS/trunk/mips64/temp-system/gcc.xml
   profiles/CLFS/trunk/mips64/temp-system/grep.xml
   profiles/CLFS/trunk/mips64/temp-system/make.xml
   profiles/CLFS/trunk/multilib/temp-system/bash.xml
   profiles/CLFS/trunk/multilib/temp-system/binutils.xml
   profiles/CLFS/trunk/multilib/temp-system/bzip2.xml
   profiles/CLFS/trunk/multilib/temp-system/coreutils.xml
   profiles/CLFS/trunk/multilib/temp-system/diffutils.xml
   profiles/CLFS/trunk/multilib/temp-system/findutils.xml
   profiles/CLFS/trunk/multilib/temp-system/gawk.xml
   profiles/CLFS/trunk/multilib/temp-system/gettext-32.xml
   profiles/CLFS/trunk/multilib/temp-system/gettext-64.xml
   profiles/CLFS/trunk/multilib/temp-system/gettext-n32.xml
   profiles/CLFS/trunk/multilib/temp-system/grep.xml
   profiles/CLFS/trunk/multilib/temp-system/gzip.xml
   profiles/CLFS/trunk/multilib/temp-system/make.xml
   profiles/CLFS/trunk/multilib/temp-system/ncurses-32.xml
   profiles/CLFS/trunk/multilib/temp-system/ncurses-64.xml
   profiles/CLFS/trunk/multilib/temp-system/ncurses-n32.xml
   profiles/CLFS/trunk/multilib/temp-system/patch.xml
   profiles/CLFS/trunk/multilib/temp-system/sed.xml
   profiles/CLFS/trunk/multilib/temp-system/tar.xml
   profiles/CLFS/trunk/multilib/temp-system/zlib-32.xml
   profiles/CLFS/trunk/multilib/temp-system/zlib-64.xml
   profiles/CLFS/trunk/multilib/temp-system/zlib-n32.xml
   profiles/CLFS/trunk/sparc64/temp-system/binutils.xml
   profiles/CLFS/trunk/sparc64/temp-system/gcc.xml
   profiles/CLFS/trunk/x86_64/temp-system/gcc.xml
Modified:
   profiles/CLFS/trunk/mips64/LFS.xml
   profiles/CLFS/trunk/sparc64/LFS.xml
   profiles/CLFS/trunk/x86_64/LFS.xml
Log:
added temp-system for mips64, sparc64 and x86_64 multilib builds

Modified: profiles/CLFS/trunk/mips64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/mips64/LFS.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/mips64/LFS.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -41,5 +41,56 @@
       <xi:include href="cross-tools/glibc-64.xml" />
       <xi:include href="cross-tools/gcc-final.xml" />
     </stage>
+    <stage name="Constructing a Temporary System">
+      <stageinfo>
+	<root>/</root>
+	<user>&lfs-user;</user>
+	<environment>
+	  <variable name="LFS">&LFS;</variable>
+	  <variable name="LC_ALL">POSIX</variable>
+	  <variable name="PATH">/cross-tools/bin:/bin:/usr/bin</variable>
+	  <variable name="CFLAGS" />
+	  <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>
+	  <variable name="CC">&lfs-target;-gcc</variable>
+	  <variable name="CXX">&lfs-target;-g++</variable>
+	  <variable name="AR">&lfs-target;-ar</variable>
+	  <variable name="AS">&lfs-target;-as</variable>
+	  <variable name="RANLIB">&lfs-target;-ranlib</variable>
+	  <variable name="LD">&lfs-target;-ld</variable>
+	  <variable name="STRIP">&lfs-target;-strip</variable>
+	</environment>
+      </stageinfo>
+      <xi:include href="../multilib/temp-system/binutils.xml" />
+      <xi:include href="temp-system/gcc.xml" />
+      <xi:include href="../multilib/temp-system/zlib-32.xml" />
+      <xi:include href="../multilib/temp-system/zlib-n32.xml" />
+      <xi:include href="../multilib/temp-system/zlib-64.xml" />
+      <xi:include href="../multilib/temp-system/gawk.xml" />
+      <xi:include href="../multilib/temp-system/coreutils.xml" />
+      <xi:include href="../multilib/temp-system/bzip2.xml" />
+      <xi:include href="../multilib/temp-system/gzip.xml" />
+      <xi:include href="../multilib/temp-system/diffutils.xml" />
+      <xi:include href="../multilib/temp-system/findutils.xml" />
+      <xi:include href="temp-system/make.xml" />
+      <xi:include href="temp-system/grep.xml" />
+      <xi:include href="../multilib/temp-system/sed.xml" />
+      <xi:include href="../multilib/temp-system/gettext-32.xml" />
+      <xi:include href="../multilib/temp-system/gettext-n32.xml" />
+      <xi:include href="../multilib/temp-system/gettext-64.xml" />
+      <xi:include href="../multilib/temp-system/ncurses-32.xml" />
+      <xi:include href="../multilib/temp-system/ncurses-n32.xml" />
+      <xi:include href="../multilib/temp-system/ncurses-64.xml" />
+      <xi:include href="../multilib/temp-system/patch.xml" />
+      <xi:include href="../multilib/temp-system/tar.xml" />
+      <xi:include href="../multilib/temp-system/bash.xml" />
+    </stage>
   </stage>
 </alfs>

Copied: profiles/CLFS/trunk/mips64/temp-system/gcc.xml (from rev 2180, profiles/CLFS/trunk/mips/temp-system/gcc.xml)
===================================================================
--- profiles/CLFS/trunk/mips/temp-system/gcc.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/mips64/temp-system/gcc.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,163 @@
+<?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 base="&build_dir;">
+	<option>parents</option>
+	<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>
+      <copy>
+	<source>gcc/cppdefault.c</source>
+	<destination>gcc/cppdefault.c.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'/#define STANDARD_INCLUDE_DIR/s@"/usr/include"@0 at g'</param>
+	<param>gcc/cppdefault.c.orig</param>
+	<param>> gcc/cppdefault.c</param>
+      </execute>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'s@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g'</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param>> gcc/Makefile.in</param>
+      </execute>
+      <copy>
+	<source>gcc/mklibgcc.in</source>
+	<destination>gcc/mklibgcc.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\./xgcc@/cross-tools/bin/${CC}@g"</param>
+	<param>gcc/mklibgcc.in.orig</param>
+	<param>> gcc/mklibgcc.in</param>
+      </execute>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig2</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"/MULTILIBS/s@\$(GCC_FOR_TARGET)@/cross-tools/bin/${CC}@g"</param>
+	<param>gcc/Makefile.in.orig2</param>
+	<param>> gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<prefix>CXX="${CXX} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--libexecdir=/tools/lib64</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--enable-long-long</param>
+	<param>--enable-c99</param>
+	<param>--enable-shared</param>
+	<param>--enable-threads=posix</param>
+	<param>--enable-__cxa_atexit</param>
+	<param>--disable-nls</param>
+	<param>--enable-languages=c,c++</param>
+	<param>--disable-libstdcxx-pch</param>
+      </configure>
+      <make>
+	<param>AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as"</param>
+	<param>LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</param>
+      </make>
+      <make>
+	<param>install</param>
+      </make>
+      <link>
+	<option>force</option>
+	<target>gcc</target>
+	<name>/tools/bin/cc</name>
+      </link>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/mips64/temp-system/grep.xml (from rev 2180, profiles/CLFS/trunk/mips/temp-system/grep.xml)
===================================================================
--- profiles/CLFS/trunk/mips/temp-system/grep.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/mips64/temp-system/grep.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,67 @@
+<?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="grep" version="&grep-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&grep-package;</file>
+	<url>&grep-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&grep-md5;</digest>
+      </download>
+      <download>
+	<file>&grep-mips-config-update-patch;</file>
+	<url>&grep-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&grep-mips-config-update-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&grep-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&grep-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&grep-mips-config-update-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&grep-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--disable-perl-regexp</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&grep-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/mips64/temp-system/make.xml (from rev 2180, profiles/CLFS/trunk/mips/temp-system/make.xml)
===================================================================
--- profiles/CLFS/trunk/mips/temp-system/make.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/mips64/temp-system/make.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,66 @@
+<?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="make" version="&make-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&make-package;</file>
+	<url>&make-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&make-md5;</digest>
+      </download>
+      <download>
+	<file>&make-mips-config-update-patch;</file>
+	<url>&make-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&make-mips-config-update-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&make-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&make-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&make-mips-config-update-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&make-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&make-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/bash.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/bash.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/bash.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/bash.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,84 @@
+<?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="bash" version="&bash-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&bash-package;</file>
+	<url>&bash-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&bash-md5;</digest>
+      </download>
+      <download>
+	<file>&bash-wcontinued-patch;</file>
+	<url>&bash-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&bash-wcontinued-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&bash-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&bash-directory;</base>
+      </stageinfo>
+      <copy>
+	<source>Makefile.in</source>
+	<destination>Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s at size \$(Program)@${LFS_TARGET}-&real-amp;@g"</param>
+	<param>Makefile.in.orig</param>
+	<param>> Makefile.in</param>
+      </execute>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&bash-wcontinued-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&bash-directory;</base>
+      </stageinfo>
+      <configure>
+      	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<prefix>CXX="${CXX} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--with-curses</param>
+	<param>--without-bash-malloc</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+      <link>
+	<option>force</option>
+	<target>bash</target>
+	<name>/tools/bin/sh</name>
+      </link>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&bash-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/binutils.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/binutils.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/binutils.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/binutils.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,91 @@
+<?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="binutils" version="&binutils-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&binutils-package;</file>
+	<url>&binutils-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&binutils-md5;</digest>
+      </download>
+      <download>
+      	<file>&binutils-posix-patch;</file>
+	<url>&binutils-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&binutils-posix-patch-md5;</digest>
+      </download>
+      <download>
+      	<file>&binutils-multilib-patch;</file>
+	<url>&binutils-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&binutils-multilib-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&binutils-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir base="&build_dir;">
+	<option>parents</option>
+	<name>binutils-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&binutils-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&binutils-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&binutils-multilib-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/binutils-build</base>
+      </stageinfo>
+      <configure command="../&binutils-directory;/configure">
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--with-lib-path=/tools/lib</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--disable-nls</param>
+	<param>--enable-shared</param>
+	<param>--enable-64-bit-bfd</param>
+      </configure>
+      <make>
+	<param>configure-host</param>
+      </make>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&binutils-directory;</remove>
+      <remove>&build_dir;/binutils-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/bzip2.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/bzip2.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/bzip2.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/bzip2.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,68 @@
+<?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="bzip2" version="&bzip2-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&bzip2-package;</file>
+	<url>&bzip2-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&bzip2-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&bzip2-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&bzip2-directory;</base>
+      </stageinfo>
+      <copy>
+	<source>Makefile</source>
+	<destination>Makefile.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'s@^\(all:.*\) test@\1 at g'</param>
+	<param>-e</param>
+	<param>'s@/lib\(/\| \|$\)@/lib64\1 at g'</param>
+	<param>Makefile.orig</param>
+	<param>> Makefile</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&bzip2-directory;</base>
+      </stageinfo>
+      <make>
+	<param>CC="${CC} ${BUILD64}"</param>
+	<param>AR="${AR}"</param>
+	<param>RANLIB="${RANLIB}"</param>
+      </make>
+      <make>
+	<param>PREFIX=/tools</param>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&bzip2-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/coreutils.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/coreutils.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/coreutils.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/coreutils.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,59 @@
+<?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="coreutils" version="&coreutils-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&coreutils-package;</file>
+	<url>&coreutils-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&coreutils-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&coreutils-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&coreutils-directory;</base>
+      </stageinfo>
+      <textdump mode="append">
+	<file>config.cache</file>
+	<content>
+	  =utils_cv_sys_open_max=1024
+	</content>
+      </textdump>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--cache-file=config.cache</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&coreutils-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/diffutils.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/diffutils.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/diffutils.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/diffutils.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,51 @@
+<?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="diffutils" version="&diffutils-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&diffutils-package;</file>
+	<url>&diffutils-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&diffutils-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&diffutils-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&diffutils-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&diffutils-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/findutils.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/findutils.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/findutils.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/findutils.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,58 @@
+<?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="findutils" version="&findutils-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&findutils-package;</file>
+	<url>&findutils-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&findutils-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&findutils-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&findutils-directory;</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =am_cv_func_working_getline=yes
+	</content>
+      </textdump>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&findutils-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/gawk.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/gawk.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/gawk.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/gawk.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,52 @@
+<?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="gawk" version="&gawk-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gawk-package;</file>
+	<url>&gawk-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gawk-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gawk-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&gawk-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gawk-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/gettext-32.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/gettext.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/gettext.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/gettext-32.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,61 @@
+<?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="gettext-32" version="&gettext-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gettext-package;</file>
+	<url>&gettext-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gettext-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gettext-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&gettext-directory;</base>
+      </stageinfo>
+      <textdump mode="append">
+	<file>config.cache</file>
+	<content>
+	  =am_cv_func_working_getline=yes
+	</content>
+      </textdump>
+      <configure>
+	<prefix>CC="${CC} ${BUILD32}"</prefix>
+	<prefix>CXX="${CXX} ${BUILD32}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--disable-libasprintf</param>
+	<param>--without-csharp</param>
+	<param>--cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gettext-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/gettext-64.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/gettext.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/gettext.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/gettext-64.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,62 @@
+<?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="gettext-64" version="&gettext-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gettext-package;</file>
+	<url>&gettext-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gettext-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gettext-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&gettext-directory;</base>
+      </stageinfo>
+      <textdump mode="append">
+	<file>config.cache</file>
+	<content>
+	  =am_cv_func_working_getline=yes
+	</content>
+      </textdump>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<prefix>CXX="${CXX} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--disable-libasprintf</param>
+	<param>--without-csharp</param>
+	<param>--cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gettext-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/gettext-n32.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/gettext.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/gettext.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/gettext-n32.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,62 @@
+<?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="gettext-n32" version="&gettext-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gettext-package;</file>
+	<url>&gettext-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gettext-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gettext-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&gettext-directory;</base>
+      </stageinfo>
+      <textdump mode="append">
+	<file>config.cache</file>
+	<content>
+	  =am_cv_func_working_getline=yes
+	</content>
+      </textdump>
+      <configure>
+	<prefix>CC="${CC} ${BUILDN32}"</prefix>
+	<prefix>CXX="${CXX} ${BUILDN32}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--libdir=/tools/lib32</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--disable-libasprintf</param>
+	<param>--without-csharp</param>
+	<param>--cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gettext-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/grep.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/grep.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/grep.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/grep.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,52 @@
+<?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="grep" version="&grep-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&grep-package;</file>
+	<url>&grep-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&grep-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&grep-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&grep-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--disable-perl-regexp</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&grep-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/gzip.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/gzip.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/gzip.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/gzip.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,66 @@
+<?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="gzip" version="&gzip-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&gzip-package;</file>
+	<url>&gzip-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&gzip-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&gzip-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gzip-directory;</base>
+      </stageinfo>
+      <copy>
+	<source>configure</source>
+	<destination>configure.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s at nm conftest@${LFS_TARGET}-&real-amp;@"</param>
+	<param>configure.orig</param>
+	<param>> configure</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&gzip-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gzip-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/make.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/make.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/make.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/make.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,51 @@
+<?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="make" version="&make-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&make-package;</file>
+	<url>&make-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&make-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&make-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&make-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&make-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/ncurses-32.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/ncurses.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/ncurses.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/ncurses-32.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,57 @@
+<?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="ncurses-32" version="&ncurses-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&ncurses-package;</file>
+	<url>&ncurses-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&ncurses-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&ncurses-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&ncurses-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD32}"</prefix>
+	<prefix>CXX="${CXX} ${BUILD32}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--with-shared</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--without-debug</param>
+	<param>--without-ada</param>
+	<param>--enable-overwrite</param>
+	<param>--with-build-cc=gcc</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&ncurses-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/ncurses-64.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/ncurses.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/ncurses.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/ncurses-64.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,58 @@
+<?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="ncurses-64" version="&ncurses-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&ncurses-package;</file>
+	<url>&ncurses-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&ncurses-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&ncurses-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&ncurses-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<prefix>CXX="${CXX} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--with-shared</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--without-debug</param>
+	<param>--without-ada</param>
+	<param>--enable-overwrite</param>
+	<param>--with-build-cc=gcc</param>
+	<param>--libdir=/tools/lib64</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&ncurses-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/ncurses-n32.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/ncurses.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/ncurses.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/ncurses-n32.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,58 @@
+<?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="ncurses-n32" version="&ncurses-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&ncurses-package;</file>
+	<url>&ncurses-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&ncurses-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&ncurses-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&ncurses-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILDN32}"</prefix>
+	<prefix>CXX="${CXX} ${BUILDN32}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--with-shared</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--without-debug</param>
+	<param>--without-ada</param>
+	<param>--enable-overwrite</param>
+	<param>--with-build-cc=gcc</param>
+	<param>--libdir=/tools/lib32</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&ncurses-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/patch.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/patch.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/patch.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/patch.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,51 @@
+<?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="patch" version="&patch-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&patch-package;</file>
+	<url>&patch-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&patch-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&patch-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&patch-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/sed.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/sed.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/sed.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/sed.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,51 @@
+<?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="sed" version="&sed-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&sed-package;</file>
+	<url>&sed-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&sed-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&sed-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&sed-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&sed-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/tar.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/tar.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/tar.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/tar.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,58 @@
+<?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="tar" version="&tar-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&tar-package;</file>
+	<url>&tar-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&tar-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&tar-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&tar-directory;</base>
+      </stageinfo>
+      <textdump mode="append">
+	<file>config.cache</file>
+	<content>
+	  =am_cv_func_working_getline=yes
+	</content>
+      </textdump>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&tar-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/zlib-32.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/zlib.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/zlib.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/zlib-32.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,51 @@
+<?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="zlib-32" version="&zlib-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&zlib-package;</file>
+	<url>&zlib-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&zlib-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&zlib-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&zlib-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD32}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--shared</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&zlib-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/zlib-64.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/zlib.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/zlib.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/zlib-64.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,52 @@
+<?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="zlib-64" version="&zlib-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&zlib-package;</file>
+	<url>&zlib-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&zlib-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&zlib-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&zlib-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--shared</param>
+	<param>--libdir=/tools/lib64</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&zlib-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/multilib/temp-system/zlib-n32.xml (from rev 2180, profiles/CLFS/trunk/common/temp-system/zlib.xml)
===================================================================
--- profiles/CLFS/trunk/common/temp-system/zlib.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/multilib/temp-system/zlib-n32.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,52 @@
+<?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="zlib-n32" version="&zlib-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&zlib-package;</file>
+	<url>&zlib-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&zlib-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&zlib-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&zlib-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CC="${CC} ${BUILDN32}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--shared</param>
+	<param>--libdir=/tools/lib32</param>
+      </configure>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&zlib-directory;</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Modified: profiles/CLFS/trunk/sparc64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/sparc64/LFS.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/sparc64/LFS.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -40,5 +40,54 @@
       <xi:include href="cross-tools/glibc-64.xml" />
       <xi:include href="cross-tools/gcc-final.xml" />
     </stage>
+    <stage name="Constructing a Temporary System">
+      <stageinfo>
+	<root>/</root>
+	<user>&lfs-user;</user>
+	<environment>
+	  <variable name="LFS">&LFS;</variable>
+	  <variable name="LC_ALL">POSIX</variable>
+	  <variable name="PATH">/cross-tools/bin:/bin:/usr/bin</variable>
+	  <variable name="CFLAGS" />
+	  <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>
+	  <variable name="CC">&lfs-target;-gcc</variable>
+	  <variable name="CXX">&lfs-target;-g++</variable>
+	  <variable name="AR">&lfs-target;-ar</variable>
+	  <variable name="AS">&lfs-target;-as</variable>
+	  <variable name="RANLIB">&lfs-target;-ranlib</variable>
+	  <variable name="LD">&lfs-target;-ld</variable>
+	  <variable name="STRIP">&lfs-target;-strip</variable>
+	</environment>
+      </stageinfo>
+      <xi:include href="temp-system/binutils.xml" />
+      <xi:include href="temp-system/gcc.xml" />
+      <xi:include href="../multilib/temp-system/zlib-32.xml" />
+      <xi:include href="../multilib/temp-system/zlib-64.xml" />
+      <xi:include href="../multilib/temp-system/gawk.xml" />
+      <xi:include href="../multilib/temp-system/coreutils.xml" />
+      <xi:include href="../multilib/temp-system/bzip2.xml" />
+      <xi:include href="../multilib/temp-system/gzip.xml" />
+      <xi:include href="../multilib/temp-system/diffutils.xml" />
+      <xi:include href="../multilib/temp-system/findutils.xml" />
+      <xi:include href="../multilib/temp-system/make.xml" />
+      <xi:include href="../multilib/temp-system/grep.xml" />
+      <xi:include href="../multilib/temp-system/sed.xml" />
+      <xi:include href="../multilib/temp-system/gettext-32.xml" />
+      <xi:include href="../multilib/temp-system/gettext-64.xml" />
+      <xi:include href="../multilib/temp-system/ncurses-32.xml" />
+      <xi:include href="../multilib/temp-system/ncurses-64.xml" />
+      <xi:include href="../multilib/temp-system/patch.xml" />
+      <xi:include href="../multilib/temp-system/tar.xml" />
+      <xi:include href="../multilib/temp-system/bash.xml" />
+
+    </stage>
   </stage>
 </alfs>

Copied: profiles/CLFS/trunk/sparc64/temp-system/binutils.xml (from rev 2180, profiles/CLFS/trunk/sparc/temp-system/binutils.xml)
===================================================================
--- profiles/CLFS/trunk/sparc/temp-system/binutils.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/sparc64/temp-system/binutils.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,111 @@
+<?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="binutils" version="&binutils-version;">
+    <stage name="Download and Check">
+      <download>
+	<file>&binutils-package;</file>
+	<url>&binutils-package-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&binutils-md5;</digest>
+      </download>
+      <download>
+      	<file>&binutils-posix-patch;</file>
+	<url>&binutils-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&binutils-posix-patch-md5;</digest>
+      </download>
+      <download>
+      	<file>&binutils-multilib-patch;</file>
+	<url>&binutils-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&binutils-multilib-patch-md5;</digest>
+      </download>
+      <download>
+      	<file>&binutils-sparc-tls-patch;</file>
+	<url>&binutils-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&binutils-sparc-tls-patch-md5;</digest>
+      </download>
+      <download>
+      	<file>&binutils-sparc-aout-patch;</file>
+	<url>&binutils-patches-url;</url>
+	<destination>&packages_dir;</destination>
+	<digest>&binutils-sparc-aout-patch-md5;</digest>
+      </download>
+    </stage>
+    <stage name="Unpacking">
+      <unpack>
+	<archive>&packages_dir;/&binutils-package;</archive>
+	<destination>&build_dir;</destination>
+      </unpack>
+      <mkdir base="&build_dir;">
+	<option>parents</option>
+	<name>binutils-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&binutils-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&binutils-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&binutils-multilib-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&binutils-sparc-tls-patch;</param>
+      </patch>
+      <patch>
+	<param>-Np1</param>
+	<param>-i &packages_dir;/&binutils-sparc-aout-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/binutils-build</base>
+      </stageinfo>
+      <configure command="../&binutils-directory;/configure">
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--with-lib-path=/tools/lib</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--disable-nls</param>
+	<param>--enable-shared</param>
+	<param>--enable-64-bit-bfd</param>
+      </configure>
+      <make>
+	<param>configure-host</param>
+      </make>
+      <make />
+      <make>
+	<param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&binutils-directory;</remove>
+      <remove>&build_dir;/binutils-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Copied: profiles/CLFS/trunk/sparc64/temp-system/gcc.xml (from rev 2180, profiles/CLFS/trunk/sparc/temp-system/gcc.xml)
===================================================================
--- profiles/CLFS/trunk/sparc/temp-system/gcc.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/sparc64/temp-system/gcc.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,155 @@
+<?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 base="&build_dir;">
+	<option>parents</option>
+	<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>
+      <copy>
+	<source>gcc/cppdefault.c</source>
+	<destination>gcc/cppdefault.c.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'/#define STANDARD_INCLUDE_DIR/s@"/usr/include"@0 at g'</param>
+	<param>gcc/cppdefault.c.orig</param>
+	<param>> gcc/cppdefault.c</param>
+      </execute>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'s@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g'</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param>> gcc/Makefile.in</param>
+      </execute>
+      <copy>
+	<source>gcc/mklibgcc.in</source>
+	<destination>gcc/mklibgcc.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\./xgcc@/cross-tools/bin/${CC}@g"</param>
+	<param>gcc/mklibgcc.in.orig</param>
+	<param>> gcc/mklibgcc.in</param>
+      </execute>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig2</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"/MULTILIBS/s@\$(GCC_FOR_TARGET)@/cross-tools/bin/${CC}@g"</param>
+	<param>gcc/Makefile.in.orig2</param>
+	<param>> gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<prefix>CXX="${CXX} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--libexecdir=/tools/lib64</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--enable-long-long</param>
+	<param>--enable-c99</param>
+	<param>--enable-shared</param>
+	<param>--enable-threads=posix</param>
+	<param>--enable-__cxa_atexit</param>
+	<param>--disable-nls</param>
+	<param>--enable-languages=c,c++</param>
+	<param>--disable-libstdcxx-pch</param>
+      </configure>
+      <make>
+	<param>CFLAGS_FOR_TARGET="${GCCTARGET}"</param>
+	<param>CXXFLAGS_FOR_TARGET="${GCCTARGET}"</param>
+	<param>AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as"</param>
+	<param>LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</param>
+      </make>
+      <make>
+	<param>install</param>
+      </make>
+      <link>
+	<option>force</option>
+	<target>gcc</target>
+	<name>/tools/bin/cc</name>
+      </link>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+

Modified: profiles/CLFS/trunk/x86_64/LFS.xml
===================================================================
--- profiles/CLFS/trunk/x86_64/LFS.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/x86_64/LFS.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -40,5 +40,52 @@
       <xi:include href="../multilib/cross-tools/glibc-64.xml" />
       <xi:include href="cross-tools/gcc-final.xml" />
     </stage>
+    <stage name="Constructing a Temporary System">
+      <stageinfo>
+	<root>/</root>
+	<user>&lfs-user;</user>
+	<environment>
+	  <variable name="LFS">&LFS;</variable>
+	  <variable name="LC_ALL">POSIX</variable>
+	  <variable name="PATH">/cross-tools/bin:/bin:/usr/bin</variable>
+	  <variable name="CFLAGS" />
+	  <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>
+	  <variable name="CC">&lfs-target;-gcc</variable>
+	  <variable name="CXX">&lfs-target;-g++</variable>
+	  <variable name="AR">&lfs-target;-ar</variable>
+	  <variable name="AS">&lfs-target;-as</variable>
+	  <variable name="RANLIB">&lfs-target;-ranlib</variable>
+	  <variable name="LD">&lfs-target;-ld</variable>
+	  <variable name="STRIP">&lfs-target;-strip</variable>
+	</environment>
+      </stageinfo>
+      <xi:include href="../multilib/temp-system/binutils.xml" />
+      <xi:include href="temp-system/gcc.xml" />
+      <xi:include href="../multilib/temp-system/zlib-32.xml" />
+      <xi:include href="../multilib/temp-system/zlib-64.xml" />
+      <xi:include href="../multilib/temp-system/gawk.xml" />
+      <xi:include href="../multilib/temp-system/coreutils.xml" />
+      <xi:include href="../multilib/temp-system/bzip2.xml" />
+      <xi:include href="../multilib/temp-system/gzip.xml" />
+      <xi:include href="../multilib/temp-system/diffutils.xml" />
+      <xi:include href="../multilib/temp-system/findutils.xml" />
+      <xi:include href="../multilib/temp-system/make.xml" />
+      <xi:include href="../multilib/temp-system/grep.xml" />
+      <xi:include href="../multilib/temp-system/sed.xml" />
+      <xi:include href="../multilib/temp-system/gettext-32.xml" />
+      <xi:include href="../multilib/temp-system/gettext-64.xml" />
+      <xi:include href="../multilib/temp-system/ncurses-32.xml" />
+      <xi:include href="../multilib/temp-system/ncurses-64.xml" />
+      <xi:include href="../multilib/temp-system/patch.xml" />
+      <xi:include href="../multilib/temp-system/tar.xml" />
+      <xi:include href="../multilib/temp-system/bash.xml" />
+    </stage>
   </stage>
 </alfs>

Copied: profiles/CLFS/trunk/x86_64/temp-system/gcc.xml (from rev 2180, profiles/CLFS/trunk/x86/temp-system/gcc.xml)
===================================================================
--- profiles/CLFS/trunk/x86/temp-system/gcc.xml	2005-11-13 17:53:44 UTC (rev 2180)
+++ profiles/CLFS/trunk/x86_64/temp-system/gcc.xml	2005-11-13 19:11:46 UTC (rev 2181)
@@ -0,0 +1,153 @@
+<?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 base="&build_dir;">
+	<option>parents</option>
+	<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>
+      <copy>
+	<source>gcc/cppdefault.c</source>
+	<destination>gcc/cppdefault.c.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'/#define STANDARD_INCLUDE_DIR/s@"/usr/include"@0 at g'</param>
+	<param>gcc/cppdefault.c.orig</param>
+	<param>> gcc/cppdefault.c</param>
+      </execute>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>'s@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g'</param>
+	<param>gcc/Makefile.in.orig</param>
+	<param>> gcc/Makefile.in</param>
+      </execute>
+      <copy>
+	<source>gcc/mklibgcc.in</source>
+	<destination>gcc/mklibgcc.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"s@\./xgcc@/cross-tools/bin/${CC}@g"</param>
+	<param>gcc/mklibgcc.in.orig</param>
+	<param>> gcc/mklibgcc.in</param>
+      </execute>
+      <copy>
+	<source>gcc/Makefile.in</source>
+	<destination>gcc/Makefile.in.orig2</destination>
+      </copy>
+      <execute command="sed">
+	<param>-e</param>
+	<param>"/MULTILIBS/s@\$(GCC_FOR_TARGET)@/cross-tools/bin/${CC}@g"</param>
+	<param>gcc/Makefile.in.orig2</param>
+	<param>> gcc/Makefile.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+	<prefix>CC="${CC} ${BUILD64}"</prefix>
+	<prefix>CXX="${CXX} ${BUILD64}"</prefix>
+	<param>--prefix=/tools</param>
+	<param>--libdir=/tools/lib64</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--libexecdir=/tools/lib64</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--enable-long-long</param>
+	<param>--enable-c99</param>
+	<param>--enable-shared</param>
+	<param>--enable-threads=posix</param>
+	<param>--enable-__cxa_atexit</param>
+	<param>--disable-nls</param>
+	<param>--enable-languages=c,c++</param>
+	<param>--disable-libstdcxx-pch</param>
+      </configure>
+      <make>
+	<param>AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as"</param>
+	<param>LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</param>
+      </make>
+      <make>
+	<param>install</param>
+      </make>
+      <link>
+	<option>force</option>
+	<target>gcc</target>
+	<name>/tools/bin/cc</name>
+      </link>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+<!--
+  $LastChangedDate$
+  $LastChangedBy$
+  $LastChangedRevision$
+-->
+</alfs>
+




More information about the alfs-log mailing list