--- bin/mod9.10 2011-09-28 18:33:50.000000000 -0700 +++ bin/mod9.10 2011-10-13 14:47:04.000000000 -0700 @@ -29,5 +29,14 @@ # (ask your sysadmin to increase the hard limit if this is not enough) ulimit -S -s `ulimit -H -s` +# Disable 64-bit support if running on a Mac OS X Leopard (10.5) machine; +# Snow Leopard (10.6) is needed for 64-bit support. +if test "${EXECUTABLE_TYPE}" = "mac10v4"; then + VERSION=`sw_vers -productVersion|cut -d. -f 1-2` + if test "${VERSION}" = "10.5"; then + NICE="${NICE} arch -i386" + fi +fi + # run the program: exec $NICE ${MODINSTALL9v10}/bin/${EXECUTABLE} $*