GSL(1)
β¨ GSL(1) β the whole vibe β¨
okay so bestie, you've stumbled into the General Commands Manual and specifically into GSL(1). This is the page for gsl-config, and honestly? It's a little script that does a big job. Let's get into it. π«Ά
πΈ NAME πΈ
gsl-config β a script to get the version number and the compiler flags of the installed GSL library. That's it. That's the whole job. And she does it flawlessly, no cap. π
π SYNOPSIS π
gsl-config [--prefix] [--version] [--libs] [--libs-without-cblas]
[--cflags]
π¦ DESCRIPTION π¦
So gsl-config is a tool that is used to configure β like, the whole point of her is to figure out the compiler and linker flags you should be using to compile and link programs that use GSL. She's the friend who already knows the answer and just hands it to you. π
She's also used internally by the .m4 macros for GNU autoconf that ship with GSL. So yes, she's out here working behind the scenes for the build system too. main character energy but make it lowkey. β¨
π OPTIONS π
gsl-config accepts the following options, and there are exactly five, so there's literally no excuse not to learn them all:
--versionβ prints the currently installed version of GSL straight to standard output. Boom, you know what you're working with. π--libsβ prints the linker flags that are necessary to link a GSL program, withcblas. π§--libs-without-cblasβ same deal, prints the linker flags necessary to link a GSL program, but withoutcblas. Yes bestie, this is the one you want when you don't want cblas in the mix. π--cflagsβ prints the compiler flags that are necessary to compile a GSL program. Compile-time queen. π--prefixβ shows the GSL installation prefix. iykyk, sometimes you just need to know where she lives. π
π SEE ALSO π
Go give these icons a read too:
gtk-config(1)gnome-config(1)
π COPYRIGHT π
Copyright Β© 2001 Christopher R. Gabriel π
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted β provided that the above copyright notice appear in all copies, and that both that copyright notice and this permission notice appear in supporting documentation. So like, do your thing, just keep the receipts. π
fr fr, that's the entire page. Nothing hidden, nothing skipped. π
and that's the tea, bestie β 22 May 2001, page GSL(1), out. π¦β¨π
π¦ where this page comes from
- alpine 3.24: gsl-doc 2.8-r0 Β· GPL-3.0-or-later
- arch rolling: gsl 2.8-1 Β· GPL-3.0-only
- centos-stream 9: gsl-devel 2.6-7.el9 Β· GPLv3+
- centos-stream 9: gsl-devel 2.6-7.el9 Β· GPLv3+
- debian bookworm: libgsl-dev 2.7.1+dfsg-5+deb12u1
- debian trixie: libgsl-dev 2.8+dfsg-5
- epel 10: gsl-devel 2.7.1-13.el10_2 Β· GPL-3.0-or-later
- fedora 43: gsl-devel 2.8-2.fc43 Β· GPL-3.0-or-later
- fedora 43: gsl-devel 2.8-2.fc43 Β· GPL-3.0-or-later
- fedora 44: gsl-devel 2.8-3.fc44 Β· GPL-3.0-or-later
- fedora 44: gsl-devel 2.8-3.fc44 Β· GPL-3.0-or-later
- nixos 26.05: gsl 2.8
- nixpkgs unstable: gsl 2.8
- opensuse-leap 16.0: gsl-devel 2.8-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gsl-devel 2.8-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gsl-devel 2.8-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: gsl-devel 2.8-160000.2.2 Β· GPL-3.0-or-later
- ubuntu jammy: libgsl-dev 2.7.1+dfsg-3
- ubuntu noble: libgsl-dev 2.7.1+dfsg-6ubuntu2
- ubuntu questing: libgsl-dev 2.8+dfsg-5.1ubuntu1
- ubuntu resolute: libgsl-dev 2.8+dfsg-6
- ubuntu stonking: libgsl-dev 2.8+dfsg-6ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms