First, you should become aware of this: http://www.macstories.net/news/developers-xcode-4-will-drop-support-for-10-5-sdk/
In particular the difficult part (i.e. beyond just finding (restoring?) the right library and header files for the SDKs) is that the toolset in XCode 4 has the PPC support removed from it. So... although you can probably without *too* much trouble, build 10.5 intel only (and possibly 10.4 intel only), if you need to support PPC then you'd better keep a copy of XCode 3 around... Note: installing the latest XCode 4 actually *silently* deletes the /Developer/SDKs for 10.4 and 10.5. <sarcasm> Nice! </sarcasm> On Mar 18, 2011, at 3:23 PM, Russell E. Owen wrote: > Has anyone tried to build python or extensions with XCode 4.0? > If so, do you have any hints, such as: > - Which C compilers to use or avoid > - How to make the results backward-compatible with 10.5 and possibly > even 10.4 > > -- Russell > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG