The following table lists the procedures to compile programs on IBM RS/6000 systems running AIX.
The seventh variable, AIXTHREAD_DEBUG, should not be set. If it is, you should unset it before running TotalView
When compiling with KCC, you must specify the –qnofullpath option; KCC is a preprocessor that passes its output to the IBM xlc C compiler. It will discard
#line directives necessary for source-level debugging if you do not use the
–qfullpath option. We also recommend that you use the
+K0 option and not the
–g option.
When compiling with guidef77, the
–WG,–cmpo=i option may not be required on all versions because
–g can imply these options.
When compiling Fortran programs with the C preprocessor, pass the –d option to the compiler driver. For example:
xlf –d – program.F
If you will be moving any program compiled with any of the IBM xl compilers from its creation directory, or you do not want to set the search directory path during debugging, use the
–qfullpath compiler option. For example: