![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Hi, I have one problem in compile and link one program. I use LIB$SPAWN in my program but I do not Know how to do the CC and the link can you help me? The Answer is : Please read the C programming manuals. The C manuals are available on-line, and explain OpenVMS application program development (using C) in some detail. The correct syntax for this operation, assuming a current Compaq C or HP C compiler, is: CC program LINK program OpenVMS system service declarations are in the starlet.h include file. Without some information on the error being reported and/or the source code, no more specific answer is feasible. Please also see the OpenVMS FAQ discussion of C programming, and also of programming with string descriptors. Examples of lib$spawn() and system() calls abound, as well. Please see the Freeware, SYS$EXAMPLES:, and other areas.
|