source: BOOK/final-system/common/pkg-config.xml@ a81e2bd

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a81e2bd was 6ecbe33, checked in by William Harrington <kb0iic@…>, 12 years ago

Remove pkg-config variables for GLIB_CFLAGS and GLIB_LIBS.

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[f586fdb]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-system-pkg-config" role="wrap">
9 <?dbhtml filename="pkg-config.html"?>
10
11 <title>Pkg-config-&pkg-config-version;</title>
12
13 <indexterm zone="ch-system-pkg-config">
14 <primary sortas="a-Pkg-config">Pkg-config</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>Pkg-config is a tool to help you insert the correct compiler options
21 on the command line when compiling applications and libraries.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Pkg-config</title>
27
28 <para os="a">Prepare Pkg-config for compilation:</para>
29
[8518b40]30<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
[db065d5]31
[f586fdb]32 <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36 <para os="e">To test the results, issue:
37 <userinput>make check</userinput>.</para>
38
39 <para os="f">Install the package:</para>
40
41<screen os="g"><userinput>make install</userinput></screen>
42
43 </sect2>
44
45 <sect2 id="contents-pkg-config" role="content">
46 <title>Contents of Pkg-config</title>
47
48 <segmentedlist>
49 <segtitle>Installed programs</segtitle>
50 <segtitle>Installed directory</segtitle>
51
52 <seglistitem>
53 <seg>pkg-config</seg>
54 <seg>/usr/share/doc/pkg-config</seg>
55 </seglistitem>
56 </segmentedlist>
57
58 <variablelist>
59 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
60 <?dbfo list-presentation="list"?>
61 <?dbhtml list-presentation="table"?>
62
63 <varlistentry id="pkg-config">
64 <term><command>pkg-config</command></term>
65 <listitem>
66 <para>The <command>pkg-config</command> program is used to retrieve
67 information about installed libraries in the system. It is typically
68 used to compile and link against one or more libraries.</para>
69 <indexterm zone="ch-system-pkg-config pkg-config">
70 <primary sortas="b-pkg-config">pkg-config</primary>
71 </indexterm>
72 </listitem>
73 </varlistentry>
74
75 </variablelist>
76
77 </sect2>
78
79</sect1>
Note: See TracBrowser for help on using the repository browser.