Changeset f695e02 for chapter06/file.xml


Ignore:
Timestamp:
02/03/2021 08:02:01 AM (3 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
4bda698
Parents:
5e06d04
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/file.xml

    r5e06d04 rf695e02  
    4444    <title>Installation of File</title>
    4545
     46    <para>
     47       The <command>file</command> command on the build host needs
     48       to be same version as the one we are building in order to
     49       create the signature file. Run the following commands to build it:
     50    </para>
     51
     52<screen><userinput remap="pre">mkdir build
     53pushd build
     54  ../configure
     55  make
     56popd</userinput></screen>
     57
    4658    <para>Prepare File for compilation:</para>
    4759
    48 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen>
     60<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen>
    4961
    5062<!-- devs: if using - -build here, the build system wants to compile
     
    5567    <para>Compile the package:</para>
    5668
    57 <screen><userinput remap="make">make</userinput></screen>
     69<screen><userinput remap="make">make FILE_COMPILE=$(pwd)/build/src/file</userinput></screen>
    5870
    5971    <para>Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.