x compiling fortran on a 64 bit machine for a 32 bit mach

I have a Pentium R dual CPU computer and
a number of 32 bit machine.

Can I cross compile a fortran 77 program on a 64 bit machine to run on a 32 bit machine?

How do i get the call graphs that seem to be promised?
-cg didn’t work for pgf77



Thanks,
Milt

Hi Mitt,

Can I cross compile a fortran 77 program on a 64 bit machine to run on a 32 bit machine?

Yes. Compile using the “-tp” (target processor) flag and specify the particular 32-bit target. Please see the output of “pgf77 -help -tp” for the complete list of targets. Most likely, you’ll want “-tp piii”, “-tp piv” or “-tp px”. Note that in the upcoming 13.x compilers, we will be dropping support for Pentium III.

How do i get the call graphs that seem to be promised?
-cg didn’t work for pgf77

Call graphs can be generated via the flag “-Mpia=cg” and then viewed using the “pgicg” utility.

Hope this helps,
Mat