Changeset 281686f
- Timestamp:
- Jun 17, 2014, 6:28:06 AM (10 years ago)
- Branches:
- clfs-3.0.0-sysvinit, sysvinit
- Children:
- 8e9526a
- Parents:
- f6fdcad
- git-author:
- Chris Staub <chris@…> (06/17/14 06:27:21)
- git-committer:
- Chris Staub <chris@…> (06/17/14 06:28:06)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/file.xml
rf6fdcad r281686f 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.