On Mon, 2 Aug 2010 10:22:25 -0700, Larry Baker said:
>My recollection using gcc and gfortran on Mac OS X 10.5 (Leopard) is
>that they both default to 32-bit.
gcc's defaults have changed over time. In 10.5, it builds for 32 bit;
in 10.6 it builds for 64 bit. This is regardless of the 'bitness' of
the kernel.
In any case, using -m32/-m64 is not customary/correct on OS X. The
proper thing to do is specify "-arch" and the architecture you want to
build for. Possible options are: ppc, ppc64, i386, x86_64.
--
____________________________________________________________
Sean McBride, B. Eng sean@xxxxxxxxxxxxxxxxxx
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada