This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ray.Donnelly
Recipients Ray.Donnelly, doko, ned.deily, ronaldoussoren
Date 2012-10-20.23:10:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350774602.88.0.284901850393.issue16291@psf.upfronthosting.co.za>
In-reply-to
Content
> It seems to me that such an animal would be fragile and incomplete at best.

There's no reason for it to be either fragile or incomplete. My cross builds have a goal of being comprehensive.

> Python builds on OS X normally require certain OS X frameworks outside of those included with the compiler.

If the user supplies the Apple Mac OS X SDK then the frameworks are correctly detected and used. To enable this, I use a set of wrapper scripts to enable this, here's the contents of x86_64-apple-darwin11-gcc:

#!/bin/sh
# Auto-generated, do not edit
/home/ray/darwin-cross/apple-osx/bin/i686-apple-darwin11-gcc -isysroot /home/ray/darwin-cross/MacOSX10.7.sdk -mmacosx-version-min=10.5 -DMAXOSX_DEPLOYEMENT_TARGET=10.5 -m64 "$@"

> Why would we want to officially support this particular variant of cross building on another platform?

There's 3 separate issues merged into this patch, general cross compilation fixes, the new darwin cross compilation feature and a few darwin warning fixes (that apply equally to cross and native). I shouldn't have done that, and am in the process of splitting this issue up so that each part can be judged in isolation. Please see the new issue I've made for the general cross compilation issues: http://bugs.python.org/issue16292
..later I'll work on a new patch for this issue.
History
Date User Action Args
2012-10-20 23:10:02Ray.Donnellysetrecipients: + Ray.Donnelly, doko, ronaldoussoren, ned.deily
2012-10-20 23:10:02Ray.Donnellysetmessageid: <1350774602.88.0.284901850393.issue16291@psf.upfronthosting.co.za>
2012-10-20 23:10:02Ray.Donnellylinkissue16291 messages
2012-10-20 23:10:02Ray.Donnellycreate