The following environment variables can be used with Silverfrost compilers in order to over-ride the default settings. Depending on the operating system, environment variables are defined in an AUTOEXEC.BAT file or by using the Control Panel.
MOD_PATH |
MOD_PATH can be used in association with FTN95 in order to specify an additional
search path for .MOD and associated .OBJ module files. For example, |
F95INCLUDE |
F95INCLUDE is like MOD_PATH and is used with FTN95 in order to specify an
alternative search path for INCLUDE files that are presented between angled
brackets. For example, |
DATE_FAIL |
If DATEFAIL=YES then a runtime error will occur if either of the Silverfrost library functions DATE@ and EDATE@ is used to return a date that is not year 2000 compliant (i.e. the 8 character form is used rather than the 10 character form). |
TMPDIR etc. |
TMPDIR can be used to set the directory to be used with OPEN(STATUS='SCRATCH')
and the Silverfrost library routines TEMP_FILE@ and TEMP_PATH@. Other environment
variables are also available as indicated in the following search order: |
SALFENVAR |
SALFENVAR can be set to MASK_UNDERFLOW or UNMASK_UNDERFLOW in order to provide a default state for masking Win32 underflows (see Underflows). |
LIB |
LIB is used by SLINK and provides a search path for Win32 library files. |
SCCINCLUDE |
SCCINCLUDE is used to provide a search path for C/C++ include files to be used with the Silverfrost C/C++ compiler. |
SOURCEPATH |
SOURCEPATH is used by the Silverfrost Win32 debugger SDBG to provide an alternative search path for source files. |
SALFORD_COLOUR |
SALFORD_COLOUR is used by FTN95 to set colours for command line output. Different colours can be applied to the following types of messages output from FTN95: Error Messages (default bright red)
The environment variable SALFORD_COLOUR is specified as a string containing a character corresponding to each of these message types, optionally separated by semi-colons. The following value are valid within the environment variable: k - Black
To make any colour bright, prefix the colour character with '-'. Example To set FTN95 command prompt messages to: Error Messages - red
The following string should be provided for the environment variable SALFORD_COLOUR: r;-m;y;k;-c;k;
|