0
我需要编译用于Python(例如SIP)的64位库,而不是32位,由我的旧32位Mac编译,用于在新Mac上使用.app bandle。如何在py2app的32位旧版Mac上编译64位Python库(例如SIP)?
貌似放在这里Is it possible to compile a 64 bit executable on a 32 bit system under Ubuntu?
类似的问题,但看起来像一个非常缓慢的调整方式,但我需要一个多库重建 - 因一个创造与py2app一个独立的应用程序。
所有我发现,降级这样的过程 - 从64到32个像
# python configure.py --arch=i386 -d /Library/Python/2.6/site-packages
从这里http://www.oak-tree.us/blog/index.php/2009/05/12/pyqt-mac
但
# python configure.py --arch=x86_64 -d /Library/Python/2.6/site-packages
在32位系统 - 不会帮助 - 在将应用程序包中的sip.so替换为刚刚编译的文件后,我得到相同的错误“sip.so:mach-o,但是错误的体系结构”
感谢您的任何帮助!