HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
130 Chapter 3
Command Definitions C-E
CCXLLK
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