
40 Pascal 4.0 User’s Guide
3
–Qoption
The –Qoption passes an option to the program. The option value must be
appropriate to that program and can begin with a plus or minus sign. The
program value can be either as(1) (Solaris 1.x only), fbe(1) (Solaris 2.x only),
cpp(1), cppas, inline(1), iropt, ld(1), pc0, or pc3. For example, the
following command passes the option -R to cpp and allows recursive macros:
hostname% pc -Qoption cpp -R myprog.p
–Qpath pathname
The –Qpath option inserts a path name into the compilation search path, hence
providing an alternate path to search for each compiler component. You can
select this option, for instance, to use a different linker or assembler. In the
following command, pc searches /home/pascal/sparc for the compiler
components and uses them if it finds them; if pc does not find the specified
components, it uses the default components:
hostname% pc -Qpath /home/pascal/sparc testp.p
–Qproduce
The –Qproduce option instructs pc to produce source code of the type
sourcetype, which can be one of the following:
For example, the following command produces the file, hello.s:
hostname% pc -Qproduce .s hello.p
-qp
The -qp option is the same as -p option.
.o Object file from as(1)
.pi Preprocessed Pascal source from cpp(1)
.s Assembler source. This option is the same as the -S option.
Commenti su questo manuale