Changeset a00e1cc0


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.

Location:
BOOK
Files:
3 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>
  • BOOK/cross-tools/multilib/pkg-config-lite.xml

    r786babf ra00e1cc0  
    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>
  • BOOK/introduction/common/changelog.xml

    r786babf ra00e1cc0  
    3838
    3939    <listitem>
     40      <para>30 May 2014</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[William Harrington] - Add --host=${CLFS_TARGET} during
     44          cross-tools Pkg-config configure..</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
    4050      <para>29 May 2014</para>
    4151      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.