[48b28ab] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/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 |
|
---|
[3df6c70] | 25 | <para os="a">We are building Bin86 so that we can compile Lilo.
|
---|
[48b28ab] | 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
|
---|
| 44 | make CC=gcc -C ld ld86</userinput></screen>
|
---|
| 45 |
|
---|
| 46 | <para os="e">Install the assembler and linker where they will be on
|
---|
[3df6c70] | 47 | the PATH when we build Lilo, using prefixes to show that their
|
---|
[48b28ab] | 48 | output is not for a native system.</para>
|
---|
| 49 |
|
---|
[986e525d] | 50 | <screen os="f"><userinput>install -v -m 755 -s as/as86 ${CLFS}/cross-tools/bin/${CLFS_TARGET}-as86
|
---|
| 51 | install -v -m 755 -s ld/ld86 ${CLFS}/cross-tools/bin/${CLFS_TARGET}-ld86</userinput></screen>
|
---|
[48b28ab] | 52 |
|
---|
| 53 | </sect2>
|
---|
| 54 |
|
---|
| 55 | <sect2 role="content">
|
---|
| 56 | <title/>
|
---|
| 57 |
|
---|
| 58 | <para>Details on this package are located in <xref
|
---|
| 59 | linkend="contents-bin86" role="."/></para>
|
---|
| 60 |
|
---|
| 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | </sect1>
|
---|