.TH "rheolef-config" 1rheolef "Sat Mar 13 2021" "Version 7.1" "rheolef" \" -*- nroff -*- .ad l .nh .SH NAME rheolef-config \- get installation directories (rheolef-7\&.1) .PP .SH "EXAMPLE" .PP The following command returns the Rheolef libraries directory: .PP .nf rheolef-config --libdir .fi .PP An environment sanity check writes: .PP .nf rheolef-config --check .fi .PP .SH "DESCRIPTION" .PP This command is useful when linking executables with Rheolef: libraries locations are required by the link editor\&. Such directories are defined while configuring Rheolef, before to compile and install\&. The \fCrheolef-config\fP command returns these settings\&. .PP Note that \fCrheolef-config\fP could be used in Makefiles for the determination of linker flags\&. .PP Another useful feature is the \fC--check\fP option\&. When Rheolef is installed in a user directory, i\&.e\&. not as root, the sane run-time environment depends upon two environment variables\&. The first one is the PATH: \fCbindir\fP directory may be present in PATH\&. The second environment variable is related to shared libraries, and its name is system-dependent, e\&.g\&. LD_LIBRARY_PATH on most platforms and SHLIB_PATH on HP-UX\&. Its content may contains \fCbindir\fP\&. .PP .nf rheolef-config --shlibpath-var .fi .PP Since it is a common mistake to have incorrect values for these variable, for novice users or for adanced ones, especially when dealing with several installed versions, the environment sanity check writes: .PP .nf rheolef-config --check .fi .PP If there is mistakes, a hint is suggested to fix it and the return status is 1\&. Instead, the return status is 0\&. .SH "OPTIONS" .PP \fC--version\fP .PP .RS 4 Rheolef version\&. .RE .PP \fC--help\fP .PP .RS 4 print option summary and exit\&. .RE .PP \fC--prefix\fP .PP .RS 4 install architecture-independent files location\&. .RE .PP \fC--exec-prefix\fP .PP .RS 4 architecture-dependent files location\&. .RE .PP \fC--includedir\fP .PP .RS 4 include header directory\&. .RE .PP \fC--bindir\fP .PP .RS 4 executables directory\&. .RE .PP \fC--mandir\fP .PP .RS 4 man documentation directory\&. .RE .PP \fC--libdir\fP .PP .RS 4 object code libraries directory\&. .RE .PP \fC--datadir\fP .br \fC--datarootdir\fP .PP .RS 4 read-only architecture-independent data location\&. .RE .PP \fC--pkgdatadir\fP .PP .RS 4 read-only architecture-independent data location; specific for package\&. .RE .PP \fC--cxx\fP .PP .RS 4 compiler invocation (e\&.g\&. g++ or clang++)\&. .RE .PP \fC--includes\fP .PP .RS 4 include compiler flags\&. .RE .PP \fC--libs\fP .PP .RS 4 library compiler flags\&. .RE .PP \fC--shlibpath-var\fP .PP .RS 4 the shared library path variable\&. .RE .PP \fC--library-interface-version\fP .PP .RS 4 the library interface version\&. .RE .PP \fC--hardcode-libdir-flag-spec\fP .PP .RS 4 flag to hardcode a libdir into a binary during linking\&. .RE .PP \fC--is-distributed\fP .PP .RS 4 true or false: whether it is the distributed version\&. .RE .PP \fC--float\fP .PP .RS 4 returns the rheolef Float type\&. Float is \fCdouble\fP by default\&. It could also be an extended arithmetic precision type as \fCdd_real\fP (quadruple precision or \fCqd_real\fP (octuple precision), depending on the configure option at compile time\&. .RE .PP \fC--have-old-code\fP .br \fC--have-new-code\fP .PP .RS 4 true or false: whether it is the new/old code branch that is installed\&. .RE .PP .SH AUTHOR Pierre Saramito .SH COPYRIGHT Copyright (C) 2000-2018 Pierre Saramito GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.