By default, the GCC version distributed with OS X 10.6 creates 64-bit binaries. The GCC version is distributed by default with 10.5 bits over 32-bit binaries.
Before starting. / configure set several environment variables. If you want it to be Intel Universal Binary with i386 and x86_64, set the following variables (assuming you use bash):
export CFLAGS="-arch i386 -arch x86_64"
export CXXFLAGS=$CFLAGS
export LDFLAGS=$CFLAGS
This will tell the configure script to pass these compiler and linker parameters and thus build the binary with the i386 and x86_64 architecture.
Or, if you want it to be built only as an i386 binary:
export CFLAGS="-arch i386"
export CXXFLAGS=$CFLAGS
export LDFLAGS=$CFLAGS
source
share