Totalview® for HPC Reference Guide : PART IV Platforms and Operating Systems : Chapter 9 Platforms and Compilers : Compiling with Debugging Symbols : Sun Solaris
Sun Solaris
The following table lists the procedures to compile programs on SunOS 5 SPARC.
 
Compiler
Compiler Command Line
Apogee C
apcc -g program.c
Apogee C++
apcc -g program.cxx
GCC C
gcc -g program.c
GCC C++
g++ -g program.cxx
Sun One Studio C
cc -g program.c
Sun One Studio C++
CC -g program.cxx
Sun One Studio Fortran 77
f77 -g program.f
Sun One Studio Fortran 90
f90 -g program.f90