r1128 - in trunk/BOOK: cross-tools cross-tools/ppc64 introduction/ppc64

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Wed Feb 1 20:06:44 PST 2006


Author: jhuntwork
Date: 2006-02-01 21:06:43 -0700 (Wed, 01 Feb 2006)
New Revision: 1128

Added:
   trunk/BOOK/cross-tools/ppc64/flags.xml
Modified:
   trunk/BOOK/cross-tools/ppc64-chapter.xml
   trunk/BOOK/introduction/ppc64/changelog.xml
Log:
Added a flags page in cross-tools for ppc64

Copied: trunk/BOOK/cross-tools/ppc64/flags.xml (from rev 1122, trunk/BOOK/cross-tools/x86_64/flags.xml)
===================================================================
--- trunk/BOOK/cross-tools/ppc64/flags.xml	                        (rev 0)
+++ trunk/BOOK/cross-tools/ppc64/flags.xml	2006-02-02 04:06:43 UTC (rev 1128)
@@ -0,0 +1,25 @@
+<?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-flags">
+  <?dbhtml filename="flags.html"?>
+
+  <title>Build Flags</title>
+
+  <para os="a">We will need to setup target specific flags for the compiler
+  and linkers.</para>
+
+<screen os="b"><userinput>export BUILD32="-m32"
+export BUILD64="-m64"</userinput></screen>
+
+  <para os="c">Lets add the build flags to <filename>~/.bashrc</filename> to
+  prevent issues if we stop and come back later.</para>
+
+<screen os="d"><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bashrc
+echo export BUILD64=\""${BUILD64}\"" >> ~/.bashrc</userinput></screen>
+
+</sect1>

Modified: trunk/BOOK/cross-tools/ppc64-chapter.xml
===================================================================
--- trunk/BOOK/cross-tools/ppc64-chapter.xml	2006-02-02 03:51:41 UTC (rev 1127)
+++ trunk/BOOK/cross-tools/ppc64-chapter.xml	2006-02-02 04:06:43 UTC (rev 1128)
@@ -14,6 +14,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/variables.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/flags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/linux-libc-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/gcc-static.xml"/>

Modified: trunk/BOOK/introduction/ppc64/changelog.xml
===================================================================
--- trunk/BOOK/introduction/ppc64/changelog.xml	2006-02-02 03:51:41 UTC (rev 1127)
+++ trunk/BOOK/introduction/ppc64/changelog.xml	2006-02-02 04:06:43 UTC (rev 1128)
@@ -42,6 +42,9 @@
         <listitem>
           <para>[jhuntwork] - Fixed multilib variables.</para>
         </listitem>
+        <listitem>
+          <para>[jhuntwork] - Added a flags page in cross-tools.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 




More information about the cross-lfs mailing list