3

–Qoption

The –Qoptionpasses 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 -Rto cpp and allows recursive macros:

hostname% pc -Qoption cpp -R myprog.p

–Qpathpathname

The –Qpathoption 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 –Qproduceoption instructs pc to produce source code of the type sourcetype, which can be one of the following:

.o

Object file from as(1)

.pi

Preprocessed Pascal source from cpp(1)

 

 

.s

Assembler source. This option is the same as the -Soption.

 

 

For example, the following command produces the file, hello.s:

hostname% pc -Qproduce .s hello.p

-qp

The -qpoption is the same as -poption.

40

Pascal 4.0 User’s Guide