[Clfs-commits] commit: r4960 - in /trunk/BOOK/boot/x86_64-64: bin86.xml bootloaders.xml
svn at cross-lfs.org
svn at cross-lfs.org
Tue Jun 2 00:34:14 PDT 2009
Author: chris at beaker67.com
Date: Tue Jun 2 07:34:13 2009
New Revision: 4960
Log:
Indentation consistency
Modified:
trunk/BOOK/boot/x86_64-64/bin86.xml
trunk/BOOK/boot/x86_64-64/bootloaders.xml
Modified: trunk/BOOK/boot/x86_64-64/bin86.xml
==============================================================================
--- trunk/BOOK/boot/x86_64-64/bin86.xml (original)
+++ trunk/BOOK/boot/x86_64-64/bin86.xml Tue Jun 2 07:34:13 2009
@@ -23,10 +23,10 @@
<title>Installation of Bin86</title>
<para os="a">We are building Bin86 so that we can compile Lilo.
- Both <command>as86</command> and <command>ld86</command> need to
- run on the host system to assemble x86_64 code. We cannot
- compile the whole package like this, but fortunately these two
- programs are the only parts we require.</para>
+ Both <command>as86</command> and <command>ld86</command> need to
+ run on the host system to assemble x86_64 code. We cannot
+ compile the whole package like this, but fortunately these two
+ programs are the only parts we require.</para>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../../final-system/x86_64-64/bin86.xml"
@@ -37,15 +37,16 @@
xpointer="xpointer(//*[@os='p2'])"/>
<para os="b">The Bin86 package does not contain a <command>configure
- </command> script. Natively compile only the necessary parts with:
+ </command> script. Natively compile only the necessary parts with:
</para>
<screen os="c"><userinput>make CC=gcc -C as as86
make CC=gcc -C ld ld86</userinput></screen>
- <para os="e">Install the assembler and linker where they will be on
- the PATH when we build Lilo, using prefixes to show that their
- output is not for a native system.</para>
+ <para os="e">Install the assembler and linker into
+ <filename class="directory">/cross-tools</filename> so they will be in
+ the PATH when we build Lilo, using prefixes to show that their
+ output is not for a native system:</para>
<screen os="f"><userinput>install -v -m 755 -s as/as86 /cross-tools/bin/${CLFS_TARGET}-as86
install -v -m 755 -s ld/ld86 /cross-tools/bin/${CLFS_TARGET}-ld86</userinput></screen>
Modified: trunk/BOOK/boot/x86_64-64/bootloaders.xml
==============================================================================
--- trunk/BOOK/boot/x86_64-64/bootloaders.xml (original)
+++ trunk/BOOK/boot/x86_64-64/bootloaders.xml Tue Jun 2 07:34:13 2009
@@ -11,25 +11,25 @@
<title>Building a bootloader</title>
<para>On x86 and x86_64 (multilib) architectures, the preferred
- bootloader is GRUB. Unfortunately, GRUB doesn't work on x86_64
- Pure64 - the stage2 files can be correctly built as 32-bit, but the
- <command>grub</command> shell is a 64-bit program, and tries to
- execute some of the stage2 routines - this results in a segmentation
- fault. Therefore, in the final system we use Lilo as the bootloader.
+ bootloader is GRUB. Unfortunately, GRUB doesn't work on x86_64
+ Pure64 - the stage2 files can be correctly built as 32-bit, but the
+ <command>grub</command> shell is a 64-bit program, and tries to
+ execute some of the stage2 routines - this results in a segmentation
+ fault. Therefore, in the final system we use Lilo as the bootloader.
</para>
<para>If you already have a bootloader, such as GRUB, installed on
- the system then you should use that to make your new kernel bootable.
- </para>
+ the system then you should use that to make your new kernel bootable.
+ </para>
<note>
<para>We will now cross-compile Bin86 and Lilo - these instructions
- assume you are using an x86_64 machine (e.g. booted fron a Live CD),
- either pure64 or multilib. This approach will not work if you are
- running the machine as i686, because a 32-bit kernel will not be
- able to execute a 64-bit binary to install the bootloader. If that
- is the case, you will need to install an i686 bootloader on the
- host system.
+ assume you are using an x86_64 machine (e.g. booted fron a Live CD),
+ either pure64 or multilib. This approach will not work if you are
+ running the machine as i686, because a 32-bit kernel will not be
+ able to execute a 64-bit binary to install the bootloader. If that
+ is the case, you will need to install an i686 bootloader on the
+ host system.
</para>
</note>
More information about the Clfs-commits
mailing list