1GraphicsMagick-Config(1)    General Commands Manual   GraphicsMagick-Config(1)
2
3
4

NAME

6       GraphicsMagick-config - get information about the installed version of
7       GraphicsMagick
8

SYNOPSIS

10       GraphicsMagick-config [--cflags] [--cppflags] [--exec-prefix]
11       [--ldflags] [--libs] [--prefix] [--version]
12

DESCRIPTION

14       GraphicsMagick-config prints the compiler and linker flags required to
15       compile and link programs that use the GraphicsMagick Application Pro‐
16       grammer Interface.
17

EXAMPLES

19       To print the version of the installed distribution of GraphicsMagick,
20       use:
21
22         GraphicsMagick-config --version
23
24       To compile a program that calls the GraphicsMagick Application Program‐
25       mer Interface, use:
26
27         cc `GraphicsMagick-config --cflags --cppflags --ldflags --libs` program.c
28
29

OPTIONS

31       --cflags
32              Print the compiler flags that were used to compile libMagick.
33
34       --cppflags
35              Print the preprocessor flags that are needed to find the Graph‐
36              icsMagick C include files and defines to ensure that the Graph‐
37              icsMagick data structures match between your program and the
38              installed libraries.
39
40       --exec-prefix
41              Print the directory under which target specific binaries and
42              executables are installed.
43
44       --ldflags
45              Print the linker flags that are needed to link with the Graphic‐
46              sMagick library.
47
48       --libs Print the linker flags that are needed to link a program with
49              libGraphicsMagick.
50
51       --version
52              Print the version of the GraphicsMagick distribution to standard
53              output.
54
56       Copyright (C) 2002 GraphicsMagick Group
57
58       Copyright (C) 2002 ImageMagick Studio
59

AUTHORS

61       Bob Friesenhahn
62
63
64
65GraphicsMagick                  4 December 2002       GraphicsMagick-Config(1)
Impressum