1GLIB(1)                             1.2.10                             GLIB(1)
2
3
4

NAME

6       glib-config  - script to get information about the installed version of
7       GLib
8

SYNOPSIS

10       glib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs]
11       [--cflags] [LIBRARIES]
12

DESCRIPTION

14       glib-config  is  a tool that is used to configure to determine the com‐
15       piler and linker flags that should be used to compile and link programs
16       that  use  GLib.  It  is also used internally to the .m4 macros for GNU
17       autoconf that are included with GLib.
18

OPTIONS

20       glib-config accepts the following options:
21
22       LIBRARIES
23               GLib has three libraries 'glib', 'gmodule' and  'gthread'.   If
24               you  specify  one of them, only the appropriate things for that
25               library will be printed.
26
27       --version
28               Print the currently installed version of GLib on  the  standard
29               output.
30
31       --libs  Print  the  linker flags that are necessary to link a GLib pro‐
32               gram.
33
34       --cflags
35               Print the compiler flags that are necessary to compile  a  GLib
36               program.
37
38       --prefix=PREFIX
39               If  specified,  use  PREFIX  instead of the installation prefix
40               that GLib was built with when  computing  the  output  for  the
41               --cflags  and  --libs options. This option is also used for the
42               exec prefix if --exec-prefix was  not  specified.  This  option
43               must be specified before any --libs or --cflags options.
44
45       --exec-prefix=PREFIX
46               If  specified, use PREFIX instead of the installation exec pre‐
47               fix that GLib was built with when computing the output for  the
48               --cflags  and  --libs  options.   This option must be specified
49               before any --libs or --cflags options.
50

SEE ALSO

52       gtk-config(1), gimp(1), gimptool(1)
53
55       Copyright ©  1998 Owen Taylor
56
57       Permission to use, copy, modify, and distribute this software  and  its
58       documentation  for  any purpose and without fee is hereby granted, pro‐
59       vided that the above copyright notice appear in  all  copies  and  that
60       both  that  copyright  notice and this permission notice appear in sup‐
61       porting documentation.
62
63
64
65Version                        16 December 1998                        GLIB(1)
Impressum