Native, Nocx, Nolib – HP SunSoft Pascal 4.0 User Manual

Page 59: Nolibmil, Noqueue

Advertising
background image

The Pascal Compiler

35

3

–native

The

–native

option causes

pc

to generate code for the best floating-point

hardware available on the machine you are compiling on.

The

-fast

macro includes

-native

in its expansion.

(Solaris 2.x only) This option is a synonym for

-xtarget=native

.

-nocx

(Solaris 1.x only) The

-nocx

option makes the output executable file about

128K bytes smaller by not linking with the

-lcx

option. However, the

runtime performance and accuracy of binary-decimal base conversion is
somewhat compromised.

-nolib

The

-nolib

option instructs the compiler not to link any libraries by

default—that is, no

-l

options are passed to

ld

. Normally, the

pc

driver

passes

-lc

to

ld

.

When you use

-nolib

, pass all

-l

options yourself. For example, the

following command links

libm

statically and the other libraries dynamically:

hostname% pc -nolib -Bstatic -lm -Bdynamic -lc test.p

–nolibmil

The

–nolibmil

option instructs the compiler to reset

–fast

so that it does not

include inline templates. Use this option after the

–fast

option, as in:

hostname% pc –fast –nolibmil myprog.p

-noqueue

The

-noqueue

option instructs the compiler not to queue this compilation if a

license is not available. Under normal circumstances, if no license is available,
the compiler waits until one becomes available. With this option, the compiler
returns immediately.

Advertising