source: BOOK/boot/x86_64-64/bin86.xml @ 883964a

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 883964a was 883964a, checked in by Chris Staub <chris@…>, 15 years ago

Indentation consistency

  • Property mode set to 100644
File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-boot-bin86" role="wrap">
9  <?dbhtml filename="bin86.html"?>
10
11  <title>Bin86-&bin86-version;</title>
12
13  <indexterm zone="ch-boot-bin86">
14    <primary sortas="a-Bin86">Bin86</primary>
15    <secondary>boot</secondary>
16  </indexterm>
17
18  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19  href="../../final-system/x86_64-64/bin86.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of Bin86</title>
24
25    <para os="a">We are building Bin86 so that we can compile Lilo.
26    Both <command>as86</command> and <command>ld86</command> need to
27    run on the host system to assemble x86_64 code. We cannot
28    compile the whole package like this, but fortunately these two
29    programs are the only parts we require.</para>
30
31    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32    href="../../final-system/x86_64-64/bin86.xml"
33    xpointer="xpointer(//*[@os='p1'])"/>
34
35    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36    href="../../final-system/x86_64-64/bin86.xml"
37    xpointer="xpointer(//*[@os='p2'])"/>
38
39    <para os="b">The Bin86 package does not contain a <command>configure
40    </command> script. Natively compile only the necessary parts with:
41    </para>
42
43<screen os="c"><userinput>make CC=gcc -C as as86
44make CC=gcc -C ld ld86</userinput></screen>
45
46    <para os="e">Install the assembler and linker into
47    <filename class="directory">/cross-tools</filename> so they will be in
48    the PATH when we build Lilo, using prefixes to show that their
49    output is not for a native system:</para>
50
51<screen os="f"><userinput>install -v -m 755 -s as/as86 /cross-tools/bin/${CLFS_TARGET}-as86
52install -v -m 755 -s ld/ld86 /cross-tools/bin/${CLFS_TARGET}-ld86</userinput></screen>
53
54  </sect2>
55
56  <sect2 role="content">
57    <title/>
58
59    <para>Details on this package are located in <xref
60    linkend="contents-bin86" role="."/></para>
61
62  </sect2>
63
64</sect1>
Note: See TracBrowser for help on using the repository browser.