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-cross-tools-bc">
|
---|
9 | <?dbhtml filename="bc.html"?>
|
---|
10 |
|
---|
11 | <title>Bc-&bc-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-cross-tools-bc">
|
---|
14 | <primary sortas="a-Bc">Bc</primary>
|
---|
15 | <secondary>cross tools</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
19 | href="../../final-system/common/bc.xml"
|
---|
20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
21 |
|
---|
22 | <sect2 role="installation">
|
---|
23 | <title>Installation of Bc</title>
|
---|
24 |
|
---|
25 | <para>We will install a <command>bc</command> program that can run
|
---|
26 | on the host system, as this is needed to compile the kernel.</para>
|
---|
27 |
|
---|
28 | <para>Prepare Bc for compilation:</para>
|
---|
29 |
|
---|
30 | <screen><userinput>./configure --prefix=/cross-tools</userinput></screen>
|
---|
31 |
|
---|
32 | <variablelist>
|
---|
33 | <title>The meaning of the configure option:</title>
|
---|
34 |
|
---|
35 | <varlistentry>
|
---|
36 | <term><parameter>--prefix=/cross-tools</parameter></term>
|
---|
37 | <listitem>
|
---|
38 | <para>This tells the configure script to prepare to install the
|
---|
39 | package in the <filename class="directory">/cross-tools</filename>
|
---|
40 | directory.</para>
|
---|
41 | </listitem>
|
---|
42 | </varlistentry>
|
---|
43 |
|
---|
44 | </variablelist>
|
---|
45 |
|
---|
46 | <para>Compile the package:</para>
|
---|
47 |
|
---|
48 | <screen><userinput>make</userinput></screen>
|
---|
49 |
|
---|
50 | <para>Install the package:</para>
|
---|
51 |
|
---|
52 | <screen><userinput>make install</userinput></screen>
|
---|
53 |
|
---|
54 | </sect2>
|
---|
55 |
|
---|
56 | <sect2 role="content">
|
---|
57 | <title/>
|
---|
58 |
|
---|
59 | <para>Details on this package are located in <xref
|
---|
60 | linkend="contents-bc" role="."/></para>
|
---|
61 |
|
---|
62 | </sect2>
|
---|
63 |
|
---|
64 | </sect1>
|
---|