GMT-CONFIG(1)

✨ GMT-CONFIG(1) ✨

okay bestie, so this page lives in the GMT manual section 1, and it's literally about one lil tool called gmt-config πŸŽ€

πŸ’– NAME πŸ’–

gmt-config β€” get info about the gmt installation πŸ¦‹

🌸 SYNOPSIS 🌸

gmt-config [ options ]

🫢 DESCRIPTION 🫢

so gmt-config is the girl the developers go to when they need the technical tea about the GMT install that's currently on your machine πŸ”₯ like which include files you gotta hand over, where the library is hiding, that kinda thing. it's giving backstage pass, no cap πŸ’…

πŸ‘‘ REQUIRED ARGUMENTS πŸ‘‘

None. nada. zero. she needs nothing from you to do her thing ✨

πŸ’… OPTIONAL ARGUMENTS πŸ’…

  • --help β€” show this help message and dip out. bye! πŸ‘‹
  • --all β€” spill every option at once, the whole menu πŸ“
  • --bits β€” is the library built 32-bit or 64-bit? she'll tell you πŸ’€
  • --cc β€” the C compiler that got used
  • --cflags β€” the pre-processor and compiler flags that got used
  • --datadir β€” GMT's data directories
  • --dataserver β€” the URL of the remote GMT data server
  • --dcw β€” where the DCW database is at
  • --dep-libs β€” the dependent libraries
  • --gshhg β€” where the GSHHG database is at
  • --has-fftw β€” is FFTW used in the build, yes or no
  • --has-pcre β€” is PCRE used in the build
  • --has-lapack β€” is LAPACK used in the build
  • --has-openmp β€” was GMT built with OpenMP support or nah
  • --includedir β€” the include directory
  • --libdir β€” the library directory
  • --libs β€” the library linking information
  • --plugindir β€” GMT's plugin directory
  • --prefix β€” the install prefix
  • --version β€” the library version ⭐

🌈 EXAMPLES 🌈

so say you wanna know which compiler flags an external thing needs to find the GMT function prototypes β€” literally just run this:

gmt-config --cflags

and boom, you got it 🧚

πŸ”₯ SEE ALSO πŸ”₯

gmt

2025, The GMT Team


and that's the whole page, bestie πŸ’– this was version 6.6, dated Jul 23, 2025 β€” slay, go configure something iconic πŸ‘‘βœ¨

πŸ“¦ where this page comes from