Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine
Ulm's Modula-2 Library:
SysConf
NAME
SysConf - configuration parameters of the local installation
SYNOPSIS
PROCEDURE GetLibDir(VAR libdir: ARRAY OF CHAR);
PROCEDURE GetRelease(VAR release: ARRAY OF CHAR);
DESCRIPTION
SysConf
allows to retrieve some of the configuration parameters
of the local installation.
GetLibDir
returns the directory where the Modula-2 compiler and the
library have been installed to.
Note that GetLibDir does not honour the MODLIB
environment variable.
Instead, it gives a reasonable default which should be taken
if MODLIB is not given.
GetRelease
returns a short string which specifies the release of
the local Modula-2 installation.
FILES
The local library directory might be /usr/local/lib/modula.
SEE ALSO
m2c
BUGS
Note that these procedures return the parameters from
the system on which your program has been compiled.
Your program, however, may be run on quite a different system
with another installation if any.
For this reason, programs which depend on SysConf
should be rebuild if they
are to be installed on other systems with different parameters.
Edited by: borchert, last change: 1997/03/04, revision: 1.1, converted to HTML: 1997/04/28
Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine