SGI IRIX-MIPS Systems

The following table lists the procedures to compile programs on SGI MIPS systems running IRIX.

Compiler
Compiler Command Line
GCC EGCS C
gcc -g -c program.c
GCC EGCS C++
gcc -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 -64 -Mtv -c program.hpf
SGI MIPSpro 90
f90 -n32 -g -c program.f90
f90
-64 -g -c program.f90
SGI MIPSpro C
cc -n32 -g -c program.c
cc
-64 -g -c program.c
SGI MIPSpro C++
CC -n32 -g -c program.cxx
CC -64 -g
-c program.cxx
SGI MIPSpro77
f77 -n32 -g -c program.f
f77 -64 -g -c
program.f

Compiling with -n32 or -64 is supported. TotalView does not support compiling with -32, which is the default for some compilers. You must specify either -n32 or -64.

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.

You must compile your programs with the pghpf -64 compiler option; on SGI IRIX, TotalView can debug 64-bit executables only.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0