GraphicsMagickWand-config(1)

GraphicsMagickWand-config1

Get information about the installed version of graphicsmagick

Usage

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

Overview

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

Examples

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

  GraphicsMagickWand-config --version

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

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

Options

--cflags

Print the compiler flags that were used to compile libGraphicsMagick.

--cppflags

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.

--exec-prefix

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

--ldflags

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

--libs

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

--version

Print the version of the GraphicsMagick distribution to standard output.

Releases

11 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0–8
  2. 9–Arch

Authors

Bob Friesenhahn

From graphicsmagick 1.3.49-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.