r5307 - in branches/cross-lfs/BOOK/cross-tools: common ppc raq2 sparc x86

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


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

Added:
   branches/cross-lfs/BOOK/cross-tools/ppc/binutils.xml
   branches/cross-lfs/BOOK/cross-tools/raq2/binutils.xml
   branches/cross-lfs/BOOK/cross-tools/sparc/binutils.xml
   branches/cross-lfs/BOOK/cross-tools/x86/binutils.xml
Modified:
   branches/cross-lfs/BOOK/cross-tools/common/binutils.xml
Log:
Prepare to make binutils.xml in cross-tools arch specific

Modified: branches/cross-lfs/BOOK/cross-tools/common/binutils.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/common/binutils.xml	2005-05-12 19:15:32 UTC (rev 5306)
+++ branches/cross-lfs/BOOK/cross-tools/common/binutils.xml	2005-05-12 19:18:17 UTC (rev 5307)
@@ -32,7 +32,6 @@
 <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>
-<para>First to make sure that we use the proper syntax for a couple of tools:</para>
 
 <screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-posix-1.patch</userinput></screen>
 

Copied: branches/cross-lfs/BOOK/cross-tools/ppc/binutils.xml (from rev 5304, branches/cross-lfs/BOOK/cross-tools/common/binutils.xml)
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/common/binutils.xml	2005-05-12 18:41:39 UTC (rev 5304)
+++ branches/cross-lfs/BOOK/cross-tools/ppc/binutils.xml	2005-05-12 19:18:17 UTC (rev 5307)
@@ -0,0 +1,84 @@
+<?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/raq2/binutils.xml (from rev 5304, branches/cross-lfs/BOOK/cross-tools/common/binutils.xml)
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/common/binutils.xml	2005-05-12 18:41:39 UTC (rev 5304)
+++ branches/cross-lfs/BOOK/cross-tools/raq2/binutils.xml	2005-05-12 19:18:17 UTC (rev 5307)
@@ -0,0 +1,84 @@
+<?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/sparc/binutils.xml (from rev 5304, branches/cross-lfs/BOOK/cross-tools/common/binutils.xml)
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/common/binutils.xml	2005-05-12 18:41:39 UTC (rev 5304)
+++ branches/cross-lfs/BOOK/cross-tools/sparc/binutils.xml	2005-05-12 19:18:17 UTC (rev 5307)
@@ -0,0 +1,84 @@
+<?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/x86/binutils.xml (from rev 5304, branches/cross-lfs/BOOK/cross-tools/common/binutils.xml)
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/common/binutils.xml	2005-05-12 18:41:39 UTC (rev 5304)
+++ branches/cross-lfs/BOOK/cross-tools/x86/binutils.xml	2005-05-12 19:18:17 UTC (rev 5307)
@@ -0,0 +1,84 @@
+<?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>
+




More information about the lfs-book mailing list