Author: jhuntwork
Date: 2005-05-09 16:05:29 -0600 (Mon, 09 May 2005)
New Revision: 5281
Modified:
branches/cross-lfs/BOOK/introduction/changelog.xml
branches/cross-lfs/BOOK/temp-system/binutils.xml
Log:
Temp-System: Added Sparc64 instructions to binutils.
Modified: branches/cross-lfs/BOOK/introduction/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/changelog.xml 2005-05-09 21:48:28 UTC
(rev 5280)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml 2005-05-09 22:05:29 UTC
(rev 5281)
@@ -103,6 +103,7 @@
<itemizedlist>
<listitem><para>May 9, 2005 [jhuntwork]</para>
<itemizedlist>
+<listitem><para>Temp-System: Added Sparc64 instructions to
binutils.</para></listitem>
<listitem><para>Cross-tools: Added a necessary patch to binutils for multilib
environments.</para></listitem>
<listitem><para>Cross-tools: Added sparc64 specific instructions to final
gcc.</para></listitem>
<listitem><para>Cross-tools: Fixed sparc64 shared gcc instructions, added full
glibc 64-bit.</para></listitem>
Modified: branches/cross-lfs/BOOK/temp-system/binutils.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/binutils.xml 2005-05-09 21:48:28 UTC
(rev 5280)
+++ branches/cross-lfs/BOOK/temp-system/binutils.xml 2005-05-09 22:05:29 UTC
(rev 5281)
@@ -37,6 +37,11 @@
<screen><userinput>patch -Np1 -i
../binutils-&binutils-version;-posix-1.patch</userinput></screen>
+<para arch="sparc64">The following patch makes binutils search in both the lib
and lib64
+directories in a multilib environment:</para>
+
+<screen arch="sparc64"><userinput>patch -Np1 -i
../binutils-&binutils-version;-genscripts_multilib-2.patch</userinput></screen>
+
<para>The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:</para>
@@ -52,10 +57,16 @@
<para>Now prepare Binutils for compilation:</para>
-<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
+<screeni
arch="x86;sparc;ppc;raq2;"><userinput>../binutils-&binutils-version;/configure
--prefix=/tools \
--build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
--disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>
+<screen arch="sparc64;"><userinput>CC="${LFS_TARGET}-gcc -m64
-mcpu=ultrasparc" \
+ ../binutils-&binutils-version;/configure --prefix=/tools \
+ --libdir=/tools/lib64 --with-lib-path=/tools/lib \
+ --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
+ --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>
+
<para>The meaning of the configure options:</para>
<variablelist>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page