=?utf-8?q?[issue4060]_PyUnicode=5FDecodeUTF16(..., =09byteorder=3D0)_gets_it_wrong_on_Mac_OS_X/PowerPC?=
Marc-Andre Lemburg
report at bugs.python.org
Tue Oct 7 00:47:14 CEST 2008
Marc-Andre Lemburg <mal at egenix.com> added the comment:
BTW: Does this simplified approach really work for Python on Mac OS X:
On 2008-10-07 00:27, Trent Mick wrote:
>> The block below does compile-time checking for endianness on
> platforms
>> that use GCC and therefore allows compiling fat binaries on OSX by
> using
>> '-arch ppc -arch i386' as the compile flags. The phrasing was
> choosen
>> such that the configure-result is used on systems that don't use
> GCC.
For most other tools that require configure tests regarding endianness
on Mac OS X, the process of building a universal binary goes something
like this:
http://developer.apple.com/opensource/buildingopensourceuniversal.html
ie. you run the whole process twice and then combine the results using
lipo.
----------
title: PyUnicode_DecodeUTF16(..., byteorder=0) gets it wrong on Mac OS X/PowerPC -> PyUnicode_DecodeUTF16(..., byteorder=0) gets it wrong on Mac OS X/PowerPC
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4060>
_______________________________________
More information about the Python-bugs-list
mailing list