.\" .de Id .. .de Sp .if n .sp .if t .sp 0.4 .. .TH rheolef-config 1rheolef "rheolef-6.7" "rheolef-6.7" "rheolef-6.7" .\" label: Prog:rheolef-config .SH NAME \fBrheolef-config\fP -- get installation directories .\" skip: @pindex rheolef-config .\" skip: @cindex installing .\" skip: @cindex configure .\" skip: @cindex Makefile .SH EXAMPLE The following command returns the rheolef libraries directory: .\" begin_example .Sp .nf rheolef-config --libdir .Sp .fi .\" end_example An environment sanity check writes: .\" begin_example .Sp .nf rheolef-config --check .Sp .fi .\" end_example .SH DESCRIPTION This command is usefull 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 see .\" REFERENCE Installing} Installing}'. The \fBrheolef-config\fP command returns these settings. .PP Note that \fBrheolef-config\fP could be used in Makefiles for the determination of linker flags. .PP .\" skip: @toindex hpux, operating system Another usefull feature is the \fB--check\fP option. When \fBrheolef\fP 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: \fBbkindir\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 \fBbindir\fP. .\" begin_example .Sp .nf rheolef-config --shlibpath-var .Sp .fi .\" end_example .\" skip: @cindex environment sanity check writes Since it is a common mistake to have incorrect values for these variable, for novice users or for adanced ones, especialy when dealing with several installed versions, the environment sanity check writes: .\" begin_example .Sp .nf rheolef-config --check .Sp .fi .\" end_example If there is mistakes, a hint is suggested to fix it and the return status is 1. Instead, the return status is 0. .SH FILE OPTIONS .\" begin table .\" start item .TP .B --version rheolef version. .\" start item .TP .B --help print option summary and exit. .\" start item .TP .B --prefix install architecture-independent files location. .\" start item .TP .B --exec-prefix architecture-dependent files location. .\" start item .TP .B --includedir include header directory. .\" start item .TP .B --bindir executables directory. .\" start item .TP .B --mandir man documentation directory. .\" start item .TP .B --libdir object code libraries directory. .\" start item .TP .B --datadir .\" start item .TP .B --datarootdir read-only architecture-independent data location. .\" start item .TP .B --pkgdatadir read-only architecture-independent data location; specific for package. .\" start item .TP .B --includes include compiler flags. .\" start item .TP .B --libs library compiler flags. .\" start item .TP .B --shlibpath-var the shared library path variable. .\" start item .TP .B --library-interface-version the library interface version. .\" start item .TP .B --hardcode-libdir-flag-spec flag to hardcode a libdir into a binary during linking. .\" start item .TP .B --is-distributed true or false: whether it is the distributed version. .\" start item .TP .B --float returns the rheolef Float type. Float is \fBdouble\fP by defaut. It could also be an extended arithmetic precision type as \fBdd_real\fP (quadruple precisio or \fBqd_real\fP (octuple precision), depending on the configure option at compile time. .\" start item .TP .B --have-old-code .\" start item .TP .B --have-new-code true or false: whether it is the new/old code branch that is installed. .\" end table .PP .\" skip start:DATE: .\" END