The Pascal Compiler
21
3
Option-Passing on the Command-Line
To pass an option on the command-line, use a dash (
-
) followed by the option
name. In some cases, you must supply additional information, such as a file
name. For example, this command activates the listing option
-l
, which is off
by default:
hostname% pc -l rmc.p
The following command causes the generated object file to be named
rmc
instead of the default,
a.out
.
hostname% pc -o rmc rmc.p
Option-Passing in the Program Text
Some options can be passed to the compiler in program text as well as on the
command-line. With this facility, you can use different option values for
different parts of a program.
Here are four examples of how options can be passed in program text:
{$P+}
{$H*}
(*$I-*)
{$l+,L-,n+}
Table 3-2 shows the options that can be passed in program text.
Table 3-2
Options That Can Be Passed in Program Text
Option
Description
b
Uses buffering of the file
output.
C
Uses runtime checks (same as
t
).
calign
Uses C data formats.
H
Uses check heap pointers.
l
Makes a listing.
L
Maps identifiers and keywords to lowercase.
p
Uses statement limit counting (different from command-line
p
1
). See
stlimit
in the Pascal 4.0 Reference Manual.
Содержание SunSoft Pascal 4.0
Страница 14: ...xiv Pascal 4 0 User s Guide ...
Страница 16: ...xvi Pascal 4 0 User s Guide ...
Страница 30: ...6 Pascal 4 0 User s Guide 1 ...
Страница 160: ...136 Pascal 4 0 User s Guide 6 ...
Страница 268: ...244 Pascal 4 0 User s Guide 11 ...
Страница 320: ...296 Pascal 4 0 User s Guide B ...
Страница 331: ...Index 307 ...
Страница 333: ......