Compilation Examples
1. Produce executable a.out with default compilation options: f77 source.f
be aware of the defaults setting (e.g. /etc/compiler.defaults )
same flags for Fortran and C
2. Options for debugging:
f77/cc -o prog -n32 -g -static source.f
2. Explicit setting of ABI/ISA/Processor, highest opt: f77/cc -o prog -n32 -mips4 -r10000 -O3 source.f
3. Detailed control of the optimization process with the
f77/cc -o prog -64 -mips4 -O3 -Ofast=ip27
-OPT:round=3:IEEE_arith=3 -IPA:dfe=on ...