GraphicsMagick-Config(1)
β¨ GraphicsMagick-Config(1) β¨
Bestie, this is the page for GraphicsMagick-config π It's a General Commands Manual command, so you run it straight from your terminal π
β¨ NAME β¨
GraphicsMagick-config, get info about the installed version of GraphicsMagick π§
β¨ SYNOPSIS β¨
GraphicsMagick-config [--cflags] [--cppflags] [--exec-prefix]
[--ldflags] [--libs] [--prefix] [--version]
β¨ DESCRIPTION β¨
okay so GraphicsMagick-config is literally the helper that prints the compiler and linker flags you need to compile and link programs that use the GraphicsMagick Application Programmer Interface π It's giving main character energy for your build π₯
β¨ EXAMPLES β¨
First, to print the version of the GraphicsMagick distribution you have installed, just do:
GraphicsMagick-config --version
And to compile a program that calls the GraphicsMagick Application Programmer Interface, do this π«Ά
cc `GraphicsMagick-config --cflags --cppflags --ldflags --libs` program.c
β¨ OPTIONS β¨
--cflagsβ prints the compiler flags that were used to compilelibMagickπΈ--cppflagsβ prints the preprocessor flags your program needs so it can find the GraphicsMagick C include files and defines. This keeps the GraphicsMagick data structures matching between your program and the installed libraries, so nothing gets weird π¦--exec-prefixβ prints the directory where target-specific binaries and executables get installed π§--ldflagsβ prints the linker flags needed to link with the GraphicsMagick library β--libsβ prints the linker flags needed to link a program withlibGraphicsMagickπ--versionβ prints the GraphicsMagick distribution version to standard output β¨
Heads up: --prefix is in the SYNOPSIS, but this page doesn't have its own entry for it, so I'm not gonna guess what it does π
β¨ COPYRIGHT β¨
Copyright (C) 2002 GraphicsMagick Group
Copyright (C) 2002 ImageMagick Studio
β¨ AUTHORS β¨
Bob Friesenhahn π
That's a wrap on GraphicsMagick-Config(1) π It's from the GraphicsMagick source, dated 4 December 2002. Stay iconic! ππ
π¦ where this page comes from
- alpine 3.24: graphicsmagick-doc 1.3.47-r0 Β· MIT
- arch rolling: graphicsmagick 1.3.49-3 Β· MIT
- debian bookworm: libgraphicsmagick1-dev 1.4+really1.3.40-4+deb12u1
- debian trixie: libgraphicsmagick1-dev 1.4+really1.3.45+hg17696-1
- epel 10: GraphicsMagick-devel 1.3.45-1.el10_1 Β· MIT
- epel 9: GraphicsMagick-devel 1.3.38-1.el9 Β· MIT
- fedora 43: GraphicsMagick-devel 1.3.45-5.fc43 Β· MIT
- fedora 43: GraphicsMagick-devel 1.3.45-5.fc43 Β· MIT
- fedora 44: GraphicsMagick-devel 1.3.45-7.fc44 Β· MIT
- fedora 44: GraphicsMagick-devel 1.3.45-7.fc44 Β· MIT
- nixpkgs unstable: graphicsmagick 1.3.49
- opensuse-leap 16.0: GraphicsMagick-devel 1.3.45-160000.13.1 Β· MIT
- opensuse-leap 16.0: GraphicsMagick-devel 1.3.45-160000.13.1 Β· MIT
- opensuse-leap 16.0: GraphicsMagick-devel 1.3.45-160000.13.1 Β· MIT
- opensuse-leap 16.0: GraphicsMagick-devel 1.3.45-160000.13.1 Β· MIT
- ubuntu jammy: libgraphicsmagick1-dev 1.4+really1.3.38-1
- ubuntu jammy: libgraphicsmagick1-dev 1.4+really1.3.38-1ubuntu0.1
- ubuntu noble: libgraphicsmagick1-dev 1.4+really1.3.42-1.1build3
- ubuntu questing: libgraphicsmagick1-dev 1.4+really1.3.45+hg17696-1build1
- ubuntu resolute: libgraphicsmagick1-dev 1.4+really1.3.46-2
- ubuntu stonking: libgraphicsmagick1-dev 1.4+really1.3.48-2
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms