rheolef-config(1rheolef)

πŸ“¦
version 7.2 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– 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 β€” the bindir directory may be present in PATH. πŸ‘‘
  • the second one is about shared libraries, and its name is system-dependent β€” like LD_LIBRARY_PATH on most platforms, and SHLIB_PATH on HP-UX. its content may contain bindir.

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, like g++ or clang++.
  • --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 a libdir into a binary during linking.
  • --is-distributed β€” true or false: whether this is the distributed version. πŸ‘€
  • --float β€” returns the rheolef Float type. Float is double by default. it could also be an extended arithmetic precision type, as dd_real (quadruple precision or qd_real (octuple precision), depending on the configure option at compile time. 🀯
  • --have-old-code, --have-new-code β€” true or false: 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 (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