Your company here ā€” click to reach over 10,000 unique daily visitors

GraphicsMagick-config - Man Page

get information about the installed version of GraphicsMagick


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


GraphicsMagick-config prints the compiler and linker flags required to compile and link programs that use the GraphicsMagick Application Programmer Interface.


To print the version of the installed distribution of GraphicsMagick, use:

  GraphicsMagick-config --version

Ā  To compile a program that calls the GraphicsMagick Application Programmer Interface, use:

  cc `GraphicsMagick-config --cflags --cppflags --ldflags --libs` program.c



Print the compiler flags that were used to compile libMagick.


Print the preprocessor flags that are needed to find the GraphicsMagick C include files and defines to ensure that the GraphicsMagick data structures match between your program and the installed libraries.


Print the directory under which target specific binaries and executables are installed.


Print the linker flags that are needed to link with the GraphicsMagick library.


Print the linker flags that are needed to link a program with libGraphicsMagick.


Print the version of the GraphicsMagick distribution to standard output.


Bob Friesenhahn


4 December 2002 GraphicsMagick