source: BOOK/boot/common/bc.xml@ d625fca

clfs-3.0.0-sysvinit sysvinit
Last change on this file since d625fca was d46fde9, checked in by Chris Staub <chris@…>, 11 years ago

Moved bc from cross-tools to boot

  • Property mode set to 100644
File size: 1.6 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-bc">
9 <?dbhtml filename="bc.html"?>
10
11 <title>Bc-&bc-version;</title>
12
13 <indexterm zone="ch-boot-bc">
14 <primary sortas="a-Bc">Bc</primary>
15 <secondary>boot</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>CC=gcc ./configure --prefix=/cross-tools</userinput></screen>
31
32 <variablelist>
33 <title>The meaning of the configure option:</title>
34
35 <varlistentry>
36 <term><parameter>CC=gcc</parameter></term>
37 <listitem>
38 <para>This ensures that we use the host's compiler to build Bc,
39 since we need it to run on the host system.</para>
40 </listitem>
41 </varlistentry>
42
43 </variablelist>
44
45 <para>Compile the package:</para>
46
47<screen><userinput>make</userinput></screen>
48
49 <para>Install the package:</para>
50
51<screen><userinput>make install</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-bc" role="."/></para>
60
61 </sect2>
62
63</sect1>
Note: See TracBrowser for help on using the repository browser.