3

This command causes the optimizer to try to recover if it reaches 16 megabytes of data space.

This limit cannot be greater than the machine’s total available swap space, and in practice, should be small enough to permit normal use of the machine while a large compilation is in progress. For example, on a machine with 32 megabytes of swap space, the command limit datasize 16M ensures that a single compilation never consumes more than half of the machine’s swap space.

The best setting of data size depends on the degree of optimization requested and the amount of real memory and virtual memory available. To find the actual swap space:

hostname% /usr/sbin/swap -s

To find the actual real memory:

hostname% /usr/sbin/prtconf grep Memory

–ofilename

The –ooption instructs the compiler to name the generated executable, filename. The default file name for executable files is a.out; for object files, it is the source file name with a .o extension. For example, the following command stores the executable in the file, myprog:

hostname% pc -o myprog myprog.p

If you use this option with the -coption, the name you give is used as the name for the object file. The default file name for object files is the source file name with a .o extension. You cannot give the object file the same name as the source file.

–P

The –Poption causes the compiler to use partial evaluation semantics on the boolean operators, and and or. Left-to-right evaluation is guaranteed, and the second operand is evaluated only if necessary to determine the result.

38

Pascal 4.0 User’s Guide