Changeset 39612b5 for BOOK/cross-tools


Ignore:
Timestamp:
May 30, 2014, 8:31:06 PM (11 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
dda2263
Parents:
baf8424
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.

Location:
BOOK/cross-tools
Files:
2 edited

Legend:

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

    rbaf8424 r39612b5  
    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>
  • BOOK/cross-tools/multilib/pkg-config-lite.xml

    rbaf8424 r39612b5  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>./configure --prefix=/cross-tools \
     33<screen os="c"><userinput>./configure --prefix=/cross-tools --host=${CLFS_TARGET} \
    3434    --with-pc-path=/tools/lib64/pkgconfig:/tools/share/pkgconfig</userinput></screen>
    3535
     
    4343          <filename class="directory">/tools/lib64/pkgconfig</filename> and
    4444          <filename class="directory">/tools/share/pkgconfig</filename>.</para>
     45        </listitem>
     46      </varlistentry>
     47
     48      <varlistentry>
     49        <term><parameter>--host=${CLFS_TARGET}</parameter></term>
     50        <listitem>
     51          <para>This option makes sure the installation includes the proper
     52          <command>{$CLFS_TARGET}-pkg-config</command> to be detected and used
     53          when cross-compiling some tools in the temporary system and boot
     54          chapter.</para>
    4555        </listitem>
    4656      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.