Compiling as 32bit on MacOSX

MRAB python at mrabarnett.plus.com
Tue Oct 12 20:47:02 EDT 2010


On 13/10/2010 01:29, Gregory Ewing wrote:
> I'm getting my Python environment set up on a new
> Snow Leopard machine, and I'd like to compile everything
> in 32 bit mode for the time being, because some of the
> extensions I need use APIs that aren't available in
> 64 bit.
>
> Is there some environment variable or config setting
> that will make gcc compile 32 bit binaries by default?
> Setting CFLAGS isn't very reliable, since the build
> systems of some libraries don't seem to take notice
> of it.
>
Not MacOSX, but might help:

http://www.cyberciti.biz/tips/compile-32bit-application-using-gcc-64-bit-linux.html




More information about the Python-list mailing list