source: BOOK/cross-tools/multilib/pkg-config-lite.xml @ 22cf824

clfs-3.0.0-sysvinitsysvinit
Last change on this file since 22cf824 was 685168b, checked in by Chris Staub <chris@…>, 8 years ago

Swap command explanations to match the actual commands

  • Property mode set to 100644
File size: 2.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-cross-tools-pkg-config-lite" role="wrap">
9  <?dbhtml filename="pkg-config-lite.html"?>
10
11  <title>Pkg-config-lite-&pkg-config-lite-version;</title>
12
13  <indexterm zone="ch-cross-tools-pkg-config-lite">
14    <primary sortas="a-Pkg-config-lite">Pkg-config-lite</primary>
15    <secondary>cross tools</secondary>
16  </indexterm>
17
18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19  href="../../final-system/common/pkg-config-lite.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of Pkg-config-lite</title>
24
25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26    href="../common/pkg-config-lite.xml"
27    xpointer="xpointer(//*[@os='a'])"/>
28
29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30    href="../common/pkg-config-lite.xml"
31    xpointer="xpointer(//*[@os='b'])"/>
32
33<screen os="c"><userinput>./configure --prefix=/cross-tools --host=${CLFS_TARGET} \
34    --with-pc-path=/tools/lib64/pkgconfig:/tools/share/pkgconfig</userinput></screen>
35
36    <variablelist os="d">
37      <title>The meaning of the new configure option:</title>
38
39      <varlistentry>
40        <term><parameter>--host=${CLFS_TARGET}</parameter></term>
41        <listitem>
42          <para>This option makes sure the installation includes the proper
43          <command>{$CLFS_TARGET}-pkg-config</command> to be detected and used
44          when cross-compiling some tools in the temporary system and boot
45          chapter.</para> 
46        </listitem>
47      </varlistentry>
48
49      <varlistentry>
50        <term><parameter>--with-pc-path</parameter></term>
51        <listitem>
52          <para>This sets the default PKG_CONFIG_PATH to
53          <filename class="directory">/tools/lib64/pkgconfig</filename> and
54          <filename class="directory">/tools/share/pkgconfig</filename>.</para>
55        </listitem>
56      </varlistentry>
57
58    </variablelist>
59
60    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
61    href="../common/pkg-config-lite.xml"
62    xpointer="xpointer(//*[@os='e'])"/>
63
64    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
65    href="../common/pkg-config-lite.xml"
66    xpointer="xpointer(//*[@os='f'])"/>
67
68    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
69    href="../common/pkg-config-lite.xml"
70    xpointer="xpointer(//*[@os='g'])"/>
71
72    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
73    href="../common/pkg-config-lite.xml"
74    xpointer="xpointer(//*[@os='h'])"/>
75
76  </sect2>
77
78  <sect2 role="content">
79    <title/>
80
81    <para>Details on this package are located in <xref
82    linkend="contents-pkg-config-lite" role="."/></para>
83
84  </sect2>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.