---
name: "Wand-config"
section: "1"
platform: "linux"
package: "graphicsmagick-libmagick-dev-compat"
version: "1.4+really1.3.45+hg17696-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/GraphicsMagickWand-config"
---

# Wand-config(1)

get information about the installed version of GraphicsMagick

Part of [GraphicsMagickWand-config(1)](/GraphicsMagickWand-config/1.md).

## NAME

GraphicsMagickWand-config - get information about the installed version of GraphicsMagick

## SYNOPSIS

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

## DESCRIPTION

**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.

## COPYRIGHT

Copyright (C) 2003 GraphicsMagick Group

Copyright (C) 2002 ImageMagick Studio

## AUTHORS

Bob Friesenhahn
