TotalView Reference Guide : Part III: Platforms and Operating Systems : Platforms and Compilers : Compiling with Debugging Symbols : Apple Running Mac OS X

Apple Running Mac OS X
On Mac OS, in all cases use the standard compiler invocation, just being sure to include the -g option.
 
f77 -g program.f
f77
-g program.for
f90 -g program.f90
gcc -g program.c
g++ -g program.cxx
g77 -g program.f
xlc -g program.c
xlC -g program.cxx
xlf -g program.f
xlf90 -g program.f90
On Mac OS X, you can create 64-bit applications using GCC 4 by adding the -m64 command-line option.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
support@roguewave.com