Subject: Re: gcc -m32?
To: Chris Kantarjiev <cak+gmane@dimebank.com>
From: Frank van der Linden <fvdl@netbsd.org>
List: port-amd64
Date: 11/21/2005 12:56:57
Chris Kantarjiev wrote:

> I'm trying to test the Psyco python jit compiler on x64; it's a 32-bit 
> only beast, so I wanted to build a 32-bit version of python.
>
> I haven't had much luck building a 32-bit python, at least partially 
> because (I think) the default gcc doesn't support -m32.
>
> If you've made this work, could you please drop me a line with a clue?

-m32 might not work because the alternate paths it needs to use aren't 
set up right. It needs a different <machine/*> include directory, and it 
also needs to link to 32bit libraries. I forgot exactly where this is 
configured in gcc, but it should not be too hard to fix.

- Frank