Scroll to navigation

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

NAME

gmt-config - Get information about the gmt installation

SYNOPSIS

gmt-config [ options ]

DESCRIPTION

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, or if it was built with GDAL support, and more.

REQUIRED ARGUMENTS

None.

OPTIONAL ARGUMENTS

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 GDAL 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

EXAMPLES

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

gmt-config --cflags


SEE ALSO

gmt

COPYRIGHT

2021, The GMT Team.

June 4, 2021 6.2