Changeset 3a4cb53
- Timestamp:
- Jun 16, 2014, 11:27:21 PM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- 39ca59f
- Parents:
- 7481f2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/file.xml
r7481f2d r3a4cb53 23 23 <title>Installation of File</title> 24 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> 25 <para>One method that <command>file</command> uses for identifying a given 26 file is to run <quote>magic tests</quote>, where it compares the file's 27 contents to data in <quote>magic files</quote>, which contain information 28 about a number of standard file formats. When File is compiled, it will run 29 <command>file -C</command> to combine the information from the 30 magic files in its source tree into a single <filename>magic.mgc</filename> 31 file, which it will use after it is installed. When we build File in 32 <xref linkend="chapter-temp-system"/>, it will be cross-compiled, so it 33 will not be able to run the <command>file</command> program that it just 34 built, which means that we need one that will run on the host system.</para> 27 35 28 36 <para>Prepare File for compilation:</para>
Note:
See TracChangeset
for help on using the changeset viewer.