Ignore:
Timestamp:
May 30, 2014, 8:31:15 PM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
776a0890
Parents:
786babf
git-author:
William Harrington <kb0iic@…> (05/30/14 20:31:06)
git-committer:
William Harrington <kb0iic@…> (05/30/14 20:31:15)
Message:

Add --host={CLFS_TARGET} during Cross tools pkg-config configure so that the <host-triplet>-pkg-config file installed to /cross-tools/bin is named properly for when cross-compiling in temp-system. Make and Util-Linux, for example, will look for <triplet>-pkg-config based on the running host (x86_64, etc) and will look for x86_64-pkg-config on the host rather than use /cross-tools/bin/pkg-config or /cross-tools/bin/{CLFS_TARGET}-pkg-config. This will fix that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/pkg-config-lite.xml

    r786babf ra00e1cc0  
    3535    <para os="b">Prepare Pkg-config-lite for compilation:</para>
    3636
    37 <screen os="c"><userinput>./configure --prefix=/cross-tools \
     37<screen os="c"><userinput>./configure --prefix=/cross-tools --host=${CLFS_TARGET}\
    3838    --with-pc-path=/tools/lib/pkgconfig:/tools/share/pkgconfig</userinput></screen>
    3939
     
    4747          <filename class="directory">/tools/lib/pkgconfig</filename> and
    4848          <filename class="directory">/tools/share/pkgconfig</filename>.</para>
     49        </listitem>
     50      </varlistentry>
     51
     52      <varlistentry>
     53        <term><parameter>--host=${CLFS_TARGET}</parameter></term>
     54        <listitem>
     55          <para>This option makes sure the installation includes the proper
     56          <command>{$CLFS_TARGET}-pkg-config</command> to be detected and used
     57          when cross-compiling some tools in the temporary system and boot
     58          chapter.</para>
    4959        </listitem>
    5060      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.