cpython/Modules/_ctypes
Ronald Oussoren 5640ce2f1e MacOS X: Enable 4-way universal builds
This patch adds a new configure argument on OSX:
        --with-universal-archs=[32-bit|64-bit|all]

When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.

I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
2008-06-05 12:58:24 +00:00
..
darwin Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi Fix misspelled sys.platform name and misspelled filename. 2008-06-02 18:41:30 +00:00
libffi_arm_wince Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi_msvc On 64-bit Windows, ffi_arg must be 8 bytes long. This fixes the 2007-05-04 08:20:41 +00:00
libffi_osx MacOS X: Enable 4-way universal builds 2008-06-05 12:58:24 +00:00
_ctypes.c Revert revisions 63943 and 63942 (Issue #1798: Add ctypes calling 2008-06-04 20:22:05 +00:00
_ctypes_test.c Issue 1872: Changed the struct module typecode from 't' to '?', for 2008-03-05 15:34:29 +00:00
_ctypes_test.h Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
callbacks.c Revert revisions 63943 and 63942 (Issue #1798: Add ctypes calling 2008-06-04 20:22:05 +00:00
callproc.c Revert revisions 63943 and 63942 (Issue #1798: Add ctypes calling 2008-06-04 20:22:05 +00:00
cfield.c MacOS X: Enable 4-way universal builds 2008-06-05 12:58:24 +00:00
ctypes.h Revert revisions 63943 and 63942 (Issue #1798: Add ctypes calling 2008-06-04 20:22:05 +00:00
ctypes_dlfcn.h Add pep-291 compatibility markers. 2006-06-12 20:56:48 +00:00
malloc_closure.c Patch #1722225: Support QNX 6. 2008-05-23 15:06:50 +00:00
stgdict.c Add pickle support to ctypes types. 2008-02-13 20:21:53 +00:00