H name – HP SunSoft Pascal 4.0 User Manual

Page 55

Advertising
background image

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.

-h

name

(Solaris 2.x only) The

-h

name 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

-h

name option, then no intrinsic name is

recorded in the library file.

Advertising