3

-R

(Solaris 1.x only) The –Roption instructs pc to call the assembler, as(1). This option merges the data segment of the resulting program with the text segment. See also -xMerge(Solaris 2.x only).

-Rpath[:dir]

(Solaris 2.x only) The -Rpath[:dir]option passes a colon-separated list of directories that specify the library search path used by the runtime linker. If present and not null, it is recorded in the output object file and passed to the runtime linker.

If both LD_RUN_PATH and the -Roption are specified, the -Roption takes precedence.

-Rw

The -Rwoption checks and issues warnings on record fields which are used, but not set.

By default, the Pascal compiler generates warnings of this kind for whole variables, but not for fields.

This option works only for local record variables that are defined in procedures or functions, not for global variables, that is, variables that are in the main program or in a separately compiled module. This is because global variables may appear to be initialized not in the main program itself, but in some procedure or function that is compiled separately, which is subsequently linked to the executable program.

This option is suppressed when the -Zoption is on. See “–Z” on page 66. In this case, all local variables and their components are initialized by zero values.

When this option is on, the compiler performs a full analysis (as far as possible at compile time) of how record fields are assigned and used. Warnings contain full access constructs for fields which are used, but not set, for example, V.F1.F2^.F3.

The Pascal Compiler

41