MPE/iX Commands Reference Manual (32650-90877)

Chapter 4 109
Command List II
Commands CALC thru COPY
NOTE
The formal file designators used in this command (CCTEXT and CCLIST)
cannot be backreferenced as actual file designators in the command
parameter list.
Operation Notes
The CCXLLK command compiles and links an HP C/iX program into a file on disk. If you do
not specify
textfile
, the compiler expects input from the current input device. If you do
not specify
listfile
, the compiler sends the listing output to the formal file designator
CCLIST (default $STDLIST).
The object file created during compilation is a system-defined temporary file, $NEWPASS,
which is passed directly to the Link Editor as $OLDPASS. Link Editor overwrites
progfile
and writes the linked program to $OLDPASS, if
progfile
is omitted, which can then be
executed.
NOTE
This command is implemented as a command file. If you set the HPPATH
variable to null (SETVAR HPPATH ""), the command file is not executed, and
the command fails.
Use
This command may be issued from a session, job, or program. It may not be used in
BREAK. Pressing
Break suspends the execution of this command. Entering the RESUME
command continues the execution.
Examples
The following example compiles and links an HP C/iX program entered through your
standard input device and stores the linked program in the file $OLDPASS. The listing is
printed on your standard list device:
CCXLLK
To compile and link an HP C/iX source program from the source file SOURCE, store it in
PROG, and send the listing to your standard list device, enter:
CCXLLK SOURCE,PROG
Related Information
Commands CCXL, CCXLGO, RUN, LINK, XEQ, LINKEDIT Utility
Manuals HP C Programmer's Guide
HP C/iX Reference Manual
CHANGELOG
Changes the user logging file without stopping or interrupting the logging process.