A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-April/063814.html below:

[Python-Dev] fat binaries for OSX

[Python-Dev] fat binaries for OSXRonald Oussoren ronaldoussoren at mac.com
Mon Apr 17 21:51:56 CEST 2006
Hi,

I've uploaded 3 patches that form the core of the python24-fat tree  
that Bob Ippolito and I have been maintaining for a while. With these  
patches one can build fat/universal binaries for python that run  
natively on OSX 10.3 and later.

I'd like to merge these patches to the trunk, but would like some  
review. I'm especially unhappy with the code duplication in patch  
1471925, but don't know how to solve that.


* Patch 1471883: --enable-universalsdk on Mac OS X

   This patch introduces a --enable-universalsdk flag for configure
   and the required changes to the build system to get this to work.

   When this flag is used Python is build as a universal (aka fat)
   binary.


* Patch 1471761: test for broken poll at runtime

   This patch moves the HAVE_BROKEN_POLL test from configure-time
   to runtime. With this patch we can have a single binary on OSX
   that works on OSX 10.3.9 or later while having select.poll
   available on those versions of the OS that have a functioning
   version poll().


* Patch 1471925: Weak linking support for OSX

   This patch adds weak linking support to the posix, time and
   socket modules. That is, the existance of a number of functions
   is tested for at runtime (on OSX only).

   With this patch one can use a python binary that was build on
   OSX 10.4 on OSX 10.3 systems, without loosing access to APIs
   that were introduced in 10.4 on OSX 10.4 systems.


Ronald
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4