SunOS 5 on SPARC

The following table lists the procedures to compile programs on SunOS 5 SPARC.

Compiler
Compiler Command Line
Apogee C
apcc -g -c program.c
Apogee C++
apcc -g -c program.cxx
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
Portland Group HPF
pghpf -g -Mtv -c program.hpf
SunPro/WorkShop C
cc -g -c program.c
SunPro/WorkShop C++
CC -g -c program.cxx
SunPro/WorkShop Fortran 77
f77 -g -c program.f
WorkShop Fortran 90
f90 -g -c program.f90

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