HP-UX

The following table lists the procedures to compile programs on HP-UX.

Compiler
Compiler Command Line
HP ANSI C
cc -g -c program.c
HP C++
aCC -g -c program.cxx
HP Fortran 90
f90 -g -c program.f90
KAI C
KCC +K0 -c program.c
KAI C++
KCC +K0 -c program.cxx
KAI Guide C (OpenMP)
guidec -g +K0 program.c
KAI Guide C++ (OpenMP)
guidec -g +K0 program.cxx
KAI Guide F77 (OpenMP)
guidef77 -g -WG,-cmpo=i program.f

When compiling with KCC for debugging, we recommend that you use the +K0 option and not the -g option. Also, the -WG,-cmpo=i option to the guidef77 command may not be required on all versions because -g can imply these options.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0