r1492 - in trunk/BOOK: chroot chroot/ppc64 introduction/ppc64 testsuite-tools

ken at linuxfromscratch.org ken at linuxfromscratch.org
Sun Apr 30 14:51:56 PDT 2006


Author: ken
Date: 2006-04-30 15:51:56 -0600 (Sun, 30 Apr 2006)
New Revision: 1492

Added:
   trunk/BOOK/chroot/ppc64/
   trunk/BOOK/chroot/ppc64/flags.xml
Modified:
   trunk/BOOK/chroot/ppc64-chapter.xml
   trunk/BOOK/introduction/ppc64/changelog.xml
   trunk/BOOK/testsuite-tools/ppc64-chapter.xml
Log:
Some multilib fixes for ppc64.

Added: trunk/BOOK/chroot/ppc64/flags.xml
===================================================================
--- trunk/BOOK/chroot/ppc64/flags.xml	                        (rev 0)
+++ trunk/BOOK/chroot/ppc64/flags.xml	2006-04-30 21:51:56 UTC (rev 1492)
@@ -0,0 +1,30 @@
+<?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-chroot-flags">
+  <?dbhtml filename="flags.html"?>
+
+  <title>Build Flags</title>
+
+  <para>We will need to setup target specific flags for the compiler
+  and linkers.</para>
+
+<screen><userinput>export BUILD32="-m32"
+export BUILD64="-m64"</userinput></screen>
+
+  <para>You will need to set your host target triplet for 32 bit:</para>
+
+<screen><userinput>export LFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>
+
+   <para>To prevent errors when you come back to your build, we will export these
+   variables to prevent any build issues in the future:</para>
+
+<screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile
+echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bash_profile</userinput></screen>
+
+</sect1>

Modified: trunk/BOOK/chroot/ppc64-chapter.xml
===================================================================
--- trunk/BOOK/chroot/ppc64-chapter.xml	2006-04-30 20:03:06 UTC (rev 1491)
+++ trunk/BOOK/chroot/ppc64-chapter.xml	2006-04-30 21:51:56 UTC (rev 1492)
@@ -12,12 +12,13 @@
   <title>If You Are Going to Chroot</title>
 
   <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/util-linux.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/util-linux.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/kernfs.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/chroot.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/changingowner.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/creatingdirs.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/createfiles.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/creatingdirs.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/createfiles.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="common/pwdgroup.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/devices.xml"/>
 

Modified: trunk/BOOK/introduction/ppc64/changelog.xml
===================================================================
--- trunk/BOOK/introduction/ppc64/changelog.xml	2006-04-30 20:03:06 UTC (rev 1491)
+++ trunk/BOOK/introduction/ppc64/changelog.xml	2006-04-30 21:51:56 UTC (rev 1492)
@@ -34,6 +34,16 @@
 -->
 
     <listitem>
+      <para>April 30, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - More multilib versions of pages for chrooting and in
+	  testsuite tools.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>April 28, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/testsuite-tools/ppc64-chapter.xml
===================================================================
--- trunk/BOOK/testsuite-tools/ppc64-chapter.xml	2006-04-30 20:03:06 UTC (rev 1491)
+++ trunk/BOOK/testsuite-tools/ppc64-chapter.xml	2006-04-30 21:51:56 UTC (rev 1492)
@@ -12,8 +12,8 @@
   <title>Constructing Testsuite Tools</title>
 
   <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/tcl.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/expect.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/tcl-64bit.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/expect-64bit.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/dejagnu.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/tree.xml"/>
 




More information about the cross-lfs mailing list