[79fe359] | 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" [
|
---|
[79fe359] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[8ef4836] | 8 | <sect1 id="ch-cross-tools-file" role="wrap">
|
---|
[79fe359] | 9 | <?dbhtml filename="file.html"?>
|
---|
| 10 |
|
---|
[78a04c8] | 11 | <title>File-&file-version;</title>
|
---|
[79fe359] | 12 |
|
---|
[fd9c7d4] | 13 | <indexterm zone="ch-cross-tools-file">
|
---|
| 14 | <primary sortas="a-File">File</primary>
|
---|
[979b26f] | 15 | <secondary>cross tools</secondary>
|
---|
[fd9c7d4] | 16 | </indexterm>
|
---|
| 17 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[fd9c7d4] | 19 | href="../../final-system/common/file.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
[79fe359] | 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of File</title>
|
---|
| 24 |
|
---|
[6fde8a9] | 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 |
|
---|
[79fe359] | 28 | <para>Prepare File for compilation:</para>
|
---|
| 29 |
|
---|
[d08e660] | 30 | <screen><userinput>./configure --prefix=/cross-tools --disable-static</userinput></screen>
|
---|
[79fe359] | 31 |
|
---|
[5cbf8bc] | 32 | <variablelist>
|
---|
[fab8698] | 33 | <title>The meaning of the new configure option:</title>
|
---|
[5cbf8bc] | 34 |
|
---|
| 35 | <varlistentry>
|
---|
| 36 | <term><parameter>--disable-static</parameter></term>
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>This tells the File package not to compile or install static
|
---|
| 39 | libraries, which are not needed for the Cross-Tools</para>
|
---|
| 40 | </listitem>
|
---|
| 41 | </varlistentry>
|
---|
| 42 |
|
---|
| 43 | </variablelist>
|
---|
| 44 |
|
---|
[8ba5b4d] | 45 | <para>Compile the package:</para>
|
---|
[79fe359] | 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-file" role="."/></para>
|
---|
| 60 |
|
---|
| 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | </sect1>
|
---|