[Python-Dev] python, lipo and the future?
Ronald Oussoren
ronaldoussoren at mac.com
Sun Sep 17 20:50:08 CEST 2006
On Sep 17, 2006, at 8:03 PM, Josiah Carlson wrote:
>
> "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> Out of curiosity: how do the current universal binaries deal with
>> this
>> issue?
>
> If I remember correctly, usually you do two completely independant
> compile runs (optionally on the same machine with different
> configure or
> macro definitions, then use a packager provided by Apple to merge the
> results for each binary/so to be distributed. Each additional platform
> would just be a new compile run.
That's the hard way to do things, if you don't mind to spent some
time checking the code you try to compile you can usually tweak
header files and use '-arch ppc -arch i386' to build a universal
binary in one go. This is a lot more convenient when building
universal binaries and is what's used to build Python as a universal
binary.
Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20060917/7d58af89/attachment-0001.bin
More information about the Python-Dev
mailing list