Chapter Contents

Previous

Next
SAS/C Cross-Platform Compiler and C++ Development System User's Guide, Release 6.50


Invoking the SAS/C and C++ Cross Platform Compiler


On a UNIX System

The SAS/C C and C++ cross-platform compiler is invoked in a manner similar to other compilers commonly used on UNIX platforms. The syntax for the commands used to invoke the compiler consists of the filename of the driver, followed by a list of options, and the filenames of the source code. This method of invoking the cross-platform compiler enables you to specify options using a syntax that is very comfortable to UNIX users, providing easy integration with UNIX build facilities. This method of compiling C and C++ programs is described in the section Compiling C Programs under UNIX and Compiling C++ Programs under UNIX .

On a Windows System

The SAS/C C and C++ cross-platform compiler can be invoked either under the Microsoft-DOS shell or within the Microsoft Visual C++ IDE. The syntax for the commands used to invoke the compiler consists of the driver name, followed by a list of options, and the filenames of the source code. This method of invoking the cross-platform compiler enables you to specify options using a syntax that is familiar to PC users, providing easy integration with PC build facilities such as batch files or an integrated development environment.

The methods for compiling C and C++ programs in a DOS shell are described in Using SAS/C C and C++ under a DOS Shell and in the Microsoft Developer Studio are described in Using SAS/C C and C++ under the Microsoft Visual C++ IDE .


Chapter Contents

Previous

Next

Top of Page

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