source: BOOK/boot/x86_64-64/bin86.xml@ 04ef2143

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 04ef2143 was 48b28ab, checked in by Jim Gifford <clfs@…>, 19 years ago

r2552@server (orig r1265): ken | 2006-03-12 15:28:07 -0800
Use Lilo for x86_64-64

  • 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.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
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 where they will be on
47 the PATH when we build lilo, using prefixes to show that their
48 output is not for a native system.</para>
49
50<screen os="f"><userinput>install -v -m 755 -s as/as86 /cross-tools/bin/${LFS_TARGET}-as86
51install -v -m 755 -s ld/ld86 /cross-tools/bin/${LFS_TARGET}-ld86</userinput></screen>
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>
Note: See TracBrowser for help on using the repository browser.