Totalview® for HPC Reference Guide : PART IV Platforms and Operating Systems : Chapter 9 Platforms and Compilers : Compiling with Debugging Symbols : Linux Running on an x86 Platform
Linux Running on an x86 Platform
The following table lists the procedures to compile programs on Linux x86 platforms.
 
Compiler
Compiler Command Line
Absoft Fortran 77
f77 -gprogram
.f f77 -gprogram.for
Absoft Fortran 90
f90 -gprogram.f90
Absoft Fortran 95
f95 -gprogram.f95
GCC C
gcc -g program.c
GCC C++
g++ -g program.cxx
GCC Fortran
gfortran -gprogram.f
Intel C++ Compiler
icc -g program.cxx
Intel Fortran Compiler
ifc -g program.f
Lahey/Fujitsu Fortran
lf95 -gprogram.f
PGI Fortran 77
pgf77 -gprogram.f
PGI Fortran 90
pgf90 -gprogram.f