HP C/iX Reference Manual (31506-90011)
Chapter 8 111
Compiling and Running HP C/iX Programs
8 Compiling and Running HP C/iX
Programs
This chapter describes how to compile, link, and run HP C programs on the MPE/iX
operating system. The following steps must occur before you can execute an HP C/iX
program:
1. Translate the source code into an object file.
2. Link one or more object files into a program file.
3. Load and execute the program file.
You can perform each of these steps independently, controlling the details of each step. Use
the MPE/iX commands CCXL, LINK, and RUN to accomplish steps 1, 2, and 3,
respectively.
Alternatively, you can combine the steps using a single MPE/iX command. CCXLLK
performs steps 1 and 2, while CCXLGO performs steps 1, 2, and 3.