The pascal compiler, Pc version number – HP SunSoft Pascal 4.0 User Manual

Page 41

Advertising
background image

17

The Pascal Compiler

3

The name of the Pascal compiler is

pc

. If you give

pc

a file name as an

argument, and the file name ends with

.p

or

.pas

,

pc

compiles the file and

leaves the result in an executable file, called

a.out

by default.

The syntax of this command is:

pc [

options

]

filename

This chapter contains the following sections:

pc

Version Number

To identify the version number of

pc

when you compile your program, call the

compiler with the

–V

option. This option instructs the compiler to produce

output that identifies the versions of all the programs used in compiling, the
compiler itself, the code generator, and so on.

pc Version Number

page 17

Compile and Link Sequence

page 18

Language Preprocessor

page 19

File Name Extensions Accepted By pc

page 20

Option-Passing on the Command-Line

page 21

Option-Passing in the Program Text

page 21

Options

page 23

Advertising