rheolef-config(1rheolef)
π rheolef-config(1rheolef) π
okay bestie, welcome to rheolef-config β the little glow-up tool from rheolef-7.2 that tells you where everything got installed. it's the friend who always knows where the party's at (the party is your libraries directory). π
β¨ NAME β¨
rheolef-config β get installation directories (rheolef-7.2) ποΈ
πΈ EXAMPLE πΈ
so like, say you want the Rheolef libraries directory. you just run this and she delivers:
rheolef-config --libdir
and if you wanna do an environment sanity check (vibe check for your shell, fr), you write:
rheolef-config --check
π¦ DESCRIPTION π¦
this command is so useful when you're linking executables with Rheolef, because the link editor literally needs to know where the libraries live. those locations get decided back when Rheolef was configured, before it was compiled and installed. and rheolef-config? she just hands you those settings. no cap. π
also lowkey important: you can use rheolef-config inside Makefiles to figure out your linker flags. iconic behavior honestly.
another super handy feature is the --check option. here's the tea: when Rheolef is installed in a user directory (i.e. not as root), whether your run-time environment is sane depends on two environment variables:
- the first one is
PATHβ thebindirdirectory may be present inPATH. π - the second one is about shared libraries, and its name is system-dependent β like
LD_LIBRARY_PATHon most platforms, andSHLIB_PATHon HP-UX. its content may containbindir.
wanna know what that variable is called on your machine? ask her:
rheolef-config --shlibpath-var
and listen β getting these variables wrong is a super common mistake, whether you're a novice user or an advanced one, especially when you've got several installed versions of Rheolef just hanging out. so the environment sanity check is:
rheolef-config --check
if something's off, she suggests a hint to fix it and the return status is 1. otherwise the return status is 0. periodt. β¨
π OPTIONS π
--versionβ the Rheolef version, obviously. πββοΈ--helpβ prints the option summary and exits. she's helpful like that.--prefixβ where the architecture-independent files got installed.--exec-prefixβ where the architecture-dependent files live.--includedirβ the include header directory.--bindirβ the executables directory.--mandirβ the man documentation directory.--libdirβ the object code libraries directory. (the main character of the example above π«Ά)--datadir,--datarootdirβ the read-only architecture-independent data location.--pkgdatadirβ the read-only architecture-independent data location, but specific for the package.--cxxβ the compiler invocation, likeg++orclang++.--includesβ the include compiler flags.--libsβ the library compiler flags.--shlibpath-varβ the shared library path variable. yes, the system-dependent one. π--library-interface-versionβ the library interface version.--hardcode-libdir-flag-specβ the flag to hardcode alibdirinto a binary during linking.--is-distributedβtrueorfalse: whether this is the distributed version. π--floatβ returns the rheolefFloattype.Floatisdoubleby default. it could also be an extended arithmetic precision type, asdd_real(quadruple precision orqd_real(octuple precision), depending on the configure option at compile time. π€―--have-old-code,--have-new-codeβtrueorfalse: whether it's the new/old code branch that is installed.
π AUTHOR π
Pierre Saramito <Pierre.Saramito@imag.fr> β king behavior, we love to see it. π
π COPYRIGHT π
Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr>
GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (fr fr, no warranty bestie, don't come for her π)
π and that's the whole page, babe. this was rheolef-config(1rheolef) from Rheolef Version 7.2 β go configure your environment, hydrate, and slay. mwah. πβ¨π¦
π¦ where this page comes from
- debian trixie: librheolef-dev 7.2-4 Β· GPL-3.0-or-later
- ubuntu noble: librheolef-dev 7.2-3build5 Β· GPL-3.0-or-later
- ubuntu questing: librheolef-dev 7.2-4build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms