gsl-config(1)

gsl-config1

Script to get version number and compiler flags of the installed gsl library

Usage

gsl-config [--prefix] [--version] [--libs] [--libs-without-cblas] [--cflags]

Overview

gsl-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use GSL. It is also used internally to the .m4 macros for GNU autoconf that are included with GSL.

Options

gsl-config accepts the following options:

--version

Print the currently installed version of GSL on the standard output.

--libs

Print the linker flags that are necessary to link a GSL program, with cblas

--libs-without-cblas

Print the linker flags that are necessary to link a GSL program, without cblas

--cflags

Print the compiler flags that are necessary to compile a GSL program.

--prefix

Show the GSL installation prefix.

Releases

13 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0–4.0
  2. 5.0–Arch

From gsl 2.8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.