aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/file.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/file.xml')
-rw-r--r--chapter06/file.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/chapter06/file.xml b/chapter06/file.xml
index 0d00a1848..f46f3295d 100644
--- a/chapter06/file.xml
+++ b/chapter06/file.xml
@@ -43,6 +43,16 @@
<sect2 role="installation">
<title>Installation of File</title>
+ <para>The build host <quote>file</quote> command iwith the same version as
+ the one we are building is needed for building the signature file. Run the
+ following commands to build it:</para>
+
+<screen><userinput remap="pre">mkdir build
+pushd build
+../configure
+make
+popd</userinput></screen>
+
<para>Prepare File for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen>
@@ -54,7 +64,7 @@
cross-compiling, and use the just built "file". -->
<para>Compile the package:</para>
-<screen><userinput remap="make">make</userinput></screen>
+<screen><userinput remap="make">make FILE_COMPILE=$(pwd)/build/src/file</userinput></screen>
<para>Install the package:</para>