r5308 - in branches/cross-lfs/BOOK/cross-tools: common sparc64

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Thu May 12 12:18:49 PDT 2005


Author: jhuntwork
Date: 2005-05-12 13:18:48 -0600 (Thu, 12 May 2005)
New Revision: 5308

Added:
   branches/cross-lfs/BOOK/cross-tools/sparc64/binutils.xml
Removed:
   branches/cross-lfs/BOOK/cross-tools/common/binutils.xml
Log:
Moved cross-tools binutils out of common

Deleted: branches/cross-lfs/BOOK/cross-tools/common/binutils.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/common/binutils.xml	2005-05-12 19:18:17 UTC (rev 5307)
+++ branches/cross-lfs/BOOK/cross-tools/common/binutils.xml	2005-05-12 19:18:48 UTC (rev 5308)
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-]>
-<sect1 id="ch-cross-tools-binutils" role="wrap">
-<title>Cross Binutils-&binutils-version;</title>
-<?dbhtml filename="binutils.html"?>
-
-<indexterm zone="ch-cross-tools-binutils">
-<primary sortas="a-Binutils">Binutils</primary>
-<secondary>cross tools</secondary></indexterm>
-
-<sect2 role="package"><title/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-	href="../../final-system/common/binutils.xml"
-	xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
-
-<segmentedlist>
-<segtitle>&buildtime;</segtitle>
-<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>1.5 SBU</seg><seg>108 MB</seg></seglistitem>
-</segmentedlist>
-
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-	href="../../final-system/common/binutils.xml"
-	xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
-
-</sect2>
-
-<sect2 role="installation">
-<title>Installation of Cross Binutils</title>
-
-<para>To make sure that we use the proper syntax for a couple of tools, we apply the following patch:</para>
-
-<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-posix-1.patch</userinput></screen>
-
-<para>Create a separate build directory again:</para>
-
-<screen><userinput>mkdir ../binutils-build
-cd ../binutils-build</userinput></screen>
-
-<para>Prepare Binutils for compilation:</para>
-
-<screen><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \
-   --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \
-   --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>
-
-<para>The meaning of the new configure option:</para>
-
-<variablelist>
-<varlistentry>
-<term><parameter>--with-lib-path=/tools/lib</parameter></term>
-<listitem><para>This tells the configure script to specify the library
-search path during the compilation of Binutils, resulting in <filename
-class="directory">/tools/lib</filename> being passed to the linker.
-This prevents the linker from searching through library directories on
-the host.</para></listitem>
-</varlistentry>
-</variablelist>
-
-<para>Compile the package:</para>
-
-<screen><userinput>make configure-host
-make headers -C bfd
-make</userinput></screen>
-
-<para>Install the package:</para>
-
-<screen><userinput>make install</userinput></screen>
-
-<para>Copy libiberty.h file to /tools/include directory:</para>
-
-<screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen>
-
-</sect2>
-
-<sect2 role="content"><title/>
-<para>Details on this package are located in <xref
-linkend="contents-binutils" role="."/></para>
-</sect2>
-
-</sect1>
-

Copied: branches/cross-lfs/BOOK/cross-tools/sparc64/binutils.xml (from rev 5307, branches/cross-lfs/BOOK/cross-tools/common/binutils.xml)




More information about the lfs-book mailing list