[Pythonmac-SIG] making a C extension compatible across OS versions?
Bob Ippolito
bob at redivi.com
Thu May 26 23:32:12 CEST 2005
On May 26, 2005, at 2:11 PM, has wrote:
> Glenn Andreas wrote:
>
>
>>> ImportError: Failure linking new module: /usr/lib/libmx.A.dylib:
>>> dyld: /Library/Frameworks/Python.framework/Versions/2.3/Resources/
>>> Python.app/Contents/MacOS/Python can't open library: /usr/lib/
>>> libmx.A.dylib (No such file or directory, errno = 2)
>>>
>>
>> [...] Switching to gcc 3.3 will make this problem go away.
>>
>
> Cool, ta. Next dumb question<g>: how do I tell Distutils (Python
> 2.4.1 on OS 10.4.1) to use gcc 3.3 instead of 4.0?
gcc_switch, like I said. Python doesn't tie itself to some specific
version of gcc.
-bob
More information about the Pythonmac-SIG
mailing list