For Absoft Pro Fortran v9.2 and Absoft Pro Fortran v10.0 you can add some environment variables and you can compile programs on Leopard and run those same executables on Tiger.
This works for command line compilations on Intel systems running
Leopard with XCode 3.0 installed.
Add the following lines to .bash_profile
For v9.2 of Absoft Pro Fortran:
export ABSOFT_AS="as -arch ppc"
export SDK=/Developer/SDKs/MacOSX10.4.0.sdk
export MACOSX_DEPLOYMENT_TARGET=10.4
export ABSOFT_LINKER="c++ -isysroot ${SDK} -Wl,-syslibroot,${SDK} -arch ppc"
For v10.0 of Absoft Pro Fortran:
export MACOSX_DEPLOYMENT_TARGET=10.4
export SDK=/Developer/SDKs/MacOSX10.4u.sdk
export ABSOFT10_LINKER="c++ -isysroot ${SDK} -Wl,-syslibroot,${SDK}"
export ABSOFT10_LINKER32="c++ -isysroot ${SDK} -Wl,-syslibroot,${SDK}"
After relaunching Terminal.app, all Fortran command line compilations
will produce Tiger compatible applications.
For further information, please see:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/index.html