source: BOOK/cross-tools/common/file.xml@ 644e7ad

clfs-3.0.0-systemd systemd
Last change on this file since 644e7ad was 2a6ed66, checked in by Chris Staub <chris@…>, 11 years ago

Moved bc from cross-tools to boot

Conflicts:

BOOK/boot/mips-chapter.xml
BOOK/boot/mips64-64-chapter.xml
BOOK/boot/mips64-chapter.xml
BOOK/boot/ppc-chapter.xml
BOOK/boot/ppc64-64-chapter.xml
BOOK/boot/ppc64-chapter.xml
BOOK/boot/sparc-chapter.xml
BOOK/boot/sparc64-64-chapter.xml
BOOK/boot/sparc64-chapter.xml
BOOK/boot/x86-chapter.xml
BOOK/boot/x86_64-64-chapter.xml
BOOK/boot/x86_64-chapter.xml

  • Property mode set to 100644
File size: 2.0 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-cross-tools-file" role="wrap">
9 <?dbhtml filename="file.html"?>
10
11 <title>File-&file-version;</title>
12
13 <indexterm zone="ch-cross-tools-file">
14 <primary sortas="a-File">File</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/file.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of File</title>
24
25 <para>Here we install a native <command>file</command> program that can run
26 on the host system, as this program is needed by Binutils.</para>
27
28 <para>Prepare File for compilation:</para>
29
30<screen><userinput>./configure --prefix=/cross-tools --disable-static</userinput></screen>
31
32 <variablelist>
33 <title>The meaning of the configure options:</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 <varlistentry>
45 <term><parameter>--disable-static</parameter></term>
46 <listitem>
47 <para>This tells the File package not to compile or install static
48 libraries, which are not needed for the Cross-Tools</para>
49 </listitem>
50 </varlistentry>
51
52 </variablelist>
53
54 <para>Compile the package:</para>
55
56<screen><userinput>make</userinput></screen>
57
58 <para>Install the package:</para>
59
60<screen><userinput>make install</userinput></screen>
61
62 </sect2>
63
64 <sect2 role="content">
65 <title/>
66
67 <para>Details on this package are located in <xref
68 linkend="contents-file" role="."/></para>
69
70 </sect2>
71
72</sect1>
Note: See TracBrowser for help on using the repository browser.