Compaq Tru64 UNIX
The following table lists the procedures to compile programs on Compaq Tru64 UNIX.
Compiler |
Compiler Command Line |
Compaq Tru64 UNIX C |
cc -g -c program.c |
Compaq Tru64 UNIX C++ |
cxx -g -c program.cxx |
Compaq Tru64 UNIX Fortran 77 |
f77 -g -c program.f |
Compaq Tru64 UNIX Fortran 90 |
f90 -g -c program.f90 |
GCC EGCS C |
gcc -g -c program.c |
GCC EGCS C++ |
g++ -g -c program.cxx |
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.