Chapter Contents

Previous

Next
Compiling C and C++ Programs

Cross-Platform Compiler Defaults

The SAS/C Cross-Platform Compiler has several options that are specified by default. Most options that begin with -K have both a positive and negative form. Most of these default to their negative form if unspecified, but a few default to their positive form.

For example, if you do not specify the -Kat option, the compiler will not allow the use of the call-by-reference operator @ ; specifying -Knoat has the same effect. Options such as -Knoextname behave the opposite way. By default, the compiler processes extended names ( -Kextname ). To disable this feature, you must specify the -Knoextname option. Compiler Options lists the default for each compiler option with a positive and negative form.

All other compiler options default to their negative form if unspecified. For example, if you do not specify the -g option, the compiler does not generate a .dbg370 debugging information file.

If you do not specify any compiler options, the cross-compiler generates prelinked, non-reentrant object code, by default. Note that there is no compiler option to specify prelinking; the -c option is provided to turn prelinking off. Use the -Krent or -Krentext options to enable reentrant modification of external data.


Chapter Contents

Previous

Next

Top of Page

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