[Pythonmac-SIG] Python (2.3, 2.4...) + XCode (2.1, 2.2) + Extensions...
Bob Ippolito
bob at redivi.com
Tue Mar 14 18:46:51 CET 2006
On Mar 14, 2006, at 8:04 AM, Hubert Holin wrote:
> Back when XCode 2.1 was current (no *so* long ago), I used it to
> build extensions for Python (first Apple's 2.3, then Bob's "official
> unofficial'" 2.4). Finding the right combination of flags to make the
> thing work was not funny.
>
> Then XCode 2.2 came along, which was fine for some C++ work.
>
> I have come to revisit some older XCode projects, which included
> extensions to Python, and, lo and behold, Apple has played "mix the
> flags" again! This means I can't build new projects which includes
> custom extensions to Python using only *documented* flags, unless I
> once again go into a hair-tearing flag hunting session... Unless
> somebody else has done that and is willing to share the result of his
> labor.
The right answer is *use distutils*. Then you don't have to touch
the flags because you know that all the code will be compiled the
same way Python was.
-bob
More information about the Pythonmac-SIG
mailing list