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

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 24b004c was 24b004c, checked in by Chris Staub <chris@…>, 8 years ago

Remove end-of-line spaces

  • Property mode set to 100644
File size: 2.3 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-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
18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19  href="../../final-system/sparc/silo.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of Silo</title>
24
25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26    href="../../final-system/sparc/silo.xml"
27    xpointer="xpointer(//*[@os='a'])"/>
28
29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30    href="../../final-system/sparc/silo.xml"
31    xpointer="xpointer(//*[@os='b'])"/>
32
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
52    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
53    href="../../final-system/sparc/silo.xml"
54    xpointer="xpointer(//*[@os='c'])"/>
55
56<screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen>
57
58    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
59    href="../../final-system/sparc/silo.xml"
60    xpointer="xpointer(//*[@os='d'])"/>
61
62<screen os="ab"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
63
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.