Chapter Contents

Previous

Next
Using the SAS/C Cross-Platform Compiler and C++ Development System

Windows Environment Configuration File

A configuration file named sascc.cfg was created when you installed the SAS/C C and C++ driver on your PC. This file contains important location information used by the sascc370 driver. If you move the software after the initial installation, or if you need to permanently define additional #include search paths, you need to modify sascc.cfg .

Following is an example sascc.cfg data file:

#
#  PATH points to the <installation dir>
#  INCLUDE points to <installation dir>\include
#  
#  The Environment variables SASCDEV and SASCINCLUDE
#  are generated at the time of installation of the
#  SAS/C and C++ Cross-Platform product. Only change
#  these two variables if you alter the location of
#  the installation on your PC.
#  
#  Use the 'set' command in an MS-DOS shell to change
#  the Environment variables, or concatenate
#  explicit pathname qualifiers to the following
#  PATH and INCLUDE variables.
#
PATH=%SASCDEV%
INCLUDE=%SASCINCLUDE%

sascc.cfg is found in the installdir\host\wnt\bin directory. The sascc370 compiler driver uses the SASCDEV and SASCINCLUDE environment variables to determine the installation directory, and thus determine the locations of the components listed in Component Paths.

Component Paths
Component Location
Executables PATH\host\wnt\bin
Standard library directory PATH\lib
System include files INCLUDE

The SASCDEV and SASCINCLUDE environment variables were automatically set during the install process. PATH and INCLUDE direct the sascc370 driver to the appropriate installation directory and the location of the system header files. The PATH and INCLUDE identifiers in the sascc.cfg configuration file are independent of the Windows PATH and INCLUDE environment variables set in the Windows operating system.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.