3

–g

The –goption instructs pc to produce additional symbol table information for dbx and debugger. With -g, the incremental linker, ild, is called, instead of

ld.

You can compile using both the -gand -Ooptions. However, there are some side effects:

The next and step commands do not work, but the cont command does.

If you have makefiles that rely on -goverriding -O, you must revise those files.

If you have makefiles that check for a warning message that -goverrides -O, you must revise those make files.

Note – Special case: -04-g. The combination -04-gturns off inlining that you usually get with -04.

–H

The –Hoption instructs pc to compile code to perform range-checking on pointers into the heap. This option is implicitly turned on by the –V0and –V1options.

-hname

(Solaris 2.x only) The -hnameoption names a shared dynamic library and provides a way to have versions of a shared dynamic library.

This is a loader option, passed to ld. In general, the name after -hshould be exactly the same as the one after -o. A space between the -hand name is optional.

The compile-time loader assigns the specified name to the shared dynamic library you are creating. It records the name in the library file as the intrinsic name of the library. If there is no -hnameoption, then no intrinsic name is recorded in the library file.

The Pascal Compiler

31