GMT-CONFIG(1) GMT GMT-CONFIG(1)

gmt-config - Get information about the gmt installation

gmt-config [ options ]

gmt-config is used by developers who need to know technical information about the current GMT installation, such as what include files to supply, the path to the library, and more.

None.

Display this help message and exit.
Display all options.
Whether library is build 32-bit or 64-bit.
The C compiler used.
The pre-processor and compiler flags used.
GMT's data directories.
The URL of the remote GMT data server.
The location of the DCW database.
The dependent libraries.
The location of the GSHHG database.
Whether FFTW is used in build.
Whether PCRE is used in build.
Whether LAPACK is used in build.
Whether GMT was built with OpenMP support.
The include directory.
The library directory.
The library linking information.
GMT's plugin directory.
The install prefix.
The library version

To determine the compiler flags that is required for an external to to find the GMT function prototypes, try:

gmt-config --cflags

gmt

2024, The GMT Team

January 7, 2024 6.5