source: BOOK/boot/sparc/silo-build.xml@ c744010

clfs-3.0.0-systemd systemd
Last change on this file since c744010 was 72ba28f, checked in by Jonathan Norman <jon@…>, 12 years ago

Updated SILO build instructions in the boot method.

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[3f8be484]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" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-silo-build" role="wrap">
9 <?dbhtml filename="silo-build.html"?>
10
11 <title>Silo-&silo-version;</title>
12
13 <indexterm zone="ch-boot-silo-build">
14 <primary sortas="a-Silo">Silo</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[93adf44a]19 href="../../final-system/sparc/silo.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Silo</title>
24
[dabbced]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]26 href="../../final-system/sparc/silo.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
[dabbced]29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]30 href="../../final-system/sparc/silo.xml"
31 xpointer="xpointer(//*[@os='b'])"/>
32
[72ba28f]33<para os="ae">This sed allows us to compile the bin2h binary separately.</para>
34
35<screen os="ad"><userinput>sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile</userinput></screen>
36
37<para os="af">Compile the bin2h and util binaries for the host.</para>
38
39<screen os="aa"><userinput>make -C common programs CC=cc
40make -C second util CC=cc</userinput></screen>
41
42 <variablelist>
43 <varlistentry>
44 <term><parameter>CC=cc</parameter></term>
45 <listitem>
46 <para>Overwrites the default value of <command>gcc -m32</command> which will fail
47to compile on 64 bit targets. This is not to be confused with <command>CC=${CC}</command> below.</para>
48 </listitem>
49 </varlistentry>
50 </variablelist>
51
[dabbced]52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]53 href="../../final-system/sparc/silo.xml"
54 xpointer="xpointer(//*[@os='c'])"/>
55
[72ba28f]56<screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen>
[3f8be484]57
[dabbced]58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]59 href="../../final-system/sparc/silo.xml"
60 xpointer="xpointer(//*[@os='d'])"/>
61
[3f76cac]62<screen os="ab"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[7134f0d]63
[3f8be484]64 </sect2>
65
66 <sect2 role="content">
67 <title/>
68
69 <para>Details on this package are located in <xref
70 linkend="contents-silo" role="."/></para>
71
72 </sect2>
73
74</sect1>
Note: See TracBrowser for help on using the repository browser.