
The Pascal Compiler 31
3
–g
The –g option 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 -g and -O options. 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 -g overriding -O, you must revise those
files.
• If you have makefiles that check for a warning message that -g overrides
-O, you must revise those make files.
Note – Special case: -04 -g. The combination -04 -g turns off inlining that
you usually get with -04.
–H
The –H option instructs pc to compile code to perform range-checking on
pointers into the heap. This option is implicitly turned on by the –V0 and –V1
options.
-hname
(Solaris 2.x only) The -hname option 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 -h should be
exactly the same as the one after -o. A space between the -h and 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 -hname option, then no intrinsic name is
recorded in the library file.
Commenti su questo manuale