[Pythonmac-SIG] Any way to use gcc 3.3 with universal build (on PPC)

Andrew Jaffe a.h.jaffe at gmail.com
Tue Jul 25 01:02:10 CEST 2006


On 24 Jul 2006, at 23:59, Bob Ippolito wrote:

>
> On Jul 24, 2006, at 3:55 PM, Andrew Jaffe wrote:
>
>> I've recently upgraded to the Universal Build, since 2.4.3 seems  
>> to be
>> needed for the most recent version of numpy.
>>
>> Further, the universal build is made with gcc 4.0.1, and seems to  
>> need
>> that for compiling extensions.
>>
>> This does present a few problems: numpy actually has a fairly obscure
>> bug on OSX with gcc 4. More importantly, g77 and gcc 4.0 don't  
>> seem to
>> play that well together (and neither gfortran nor g95 seem to be  
>> quite
>> there yet, for various reasons).
>>
>> So, is there any way to use gcc 3.3 with the universal build? It  
>> seems
>> like it should be possible, since modules actually built with 3.3  
>> under
>> python2.4.1 work fine.
>
> gcc 3.3 can only build PPC. You'd have to try pretty hard to get it  
> to use GCC 3.3, and you'd end up with a .so that is PPC only.

exactly...  I'm on PPC, so that works for me. but I'm not sure the  
'try pretty hard' would be worth it (although speed is indeed an issue).

Thanks for the quick response!

Yours,

Andrew



More information about the Pythonmac-SIG mailing list