HP Pascal/iX Programmer's Guide (31502-90023)
B- 10
2. Directories specified with the -I option.
3. The current working directory.
4. The standard directory /usr/include.
-L Write a program listing to stdout.
-l
x
Cause the linker to search the lib
x
.sl or lib
x
.a
libraries in an attempt to resolve currently
unresolved external references. Because a
library is searched when its name is
encountered, placement of a -l is significant.
If a file contains an unresolved external
reference, the library containing the definition
must be placed
after
the file on the command
line. See
ld(1)
for more information.
-N Cause the output file from the linker to be
marked as unshareable (see -n).
-n Cause the output file from the linker to be
marked as shareable (see -N).
-O Turn on optimization. The compiler performs
level 2 optimization. See +O
opt
.
+O
arg
Perform optimizations selected by
arg
. There
are two kinds of arguments to the +O
optimization option. Those in the first group
can have
arg
defined as:
1 Perform level 1 optimizations. These
include branch optimizations, dead code
elimination, instruction scheduling, and
peephole optimization.
2 Perform level 2 optimizations. These
include common subexpression
elimination, constant folding, loop
invariant code motion, coloring register
allocation, and store-copy optimization.
Level 2 optimizations are a superset of
level 1 optimizations. The -O option is
equivalent to the +O2 option.
3 Perform level 3 optimizations. These
include, but are not limited to,
interprocedural global optimizations.
Level 3 optimizations are a superset of
level 2 optimizations.
Those in the second group can have
arg
defines
as:
s Suppress optimizations which tend to
increase the generated code size.
Currently, these optimizations include
software pipelining and loop unrolling.
bb
num
Specify the maximum number of basic
blocks allowed in a procedure that is to
be optimized at level 2. If a procedure
contains more than
num
basic blocks,
level 1 optimization is performed for
that procedure. The default value for
num
is 500 (same as $OPTIMIZE
'BASIC_BLOCKS
num
'$).