[48b28ab] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[48b28ab] | 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 |
|
---|
[3df6c70] | 25 | <para os="a">We are building Bin86 so that we can compile Lilo.
|
---|
[883964a] | 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>
|
---|
[48b28ab] | 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
|
---|
[883964a] | 40 | </command> script. Natively compile only the necessary parts with:
|
---|
[48b28ab] | 41 | </para>
|
---|
| 42 |
|
---|
| 43 | <screen os="c"><userinput>make CC=gcc -C as as86
|
---|
| 44 | make CC=gcc -C ld ld86</userinput></screen>
|
---|
| 45 |
|
---|
[883964a] | 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>
|
---|
[48b28ab] | 50 |
|
---|
[bc2e3fa] | 51 | <screen os="f"><userinput>install -v -m 755 -s as/as86 /cross-tools/bin/${CLFS_TARGET}-as86
|
---|
| 52 | install -v -m 755 -s ld/ld86 /cross-tools/bin/${CLFS_TARGET}-ld86</userinput></screen>
|
---|
[48b28ab] | 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>
|
---|