[issue7658] OS X pythonw.c compile error with 10.4 or earlier deployment target: no spawn.h
Ronald Oussoren
report at bugs.python.org
Fri Jan 8 10:46:33 CET 2010
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
BTW. The patch is incorrect in it current form:
* The change to LIPO_32BIT_FLAGS is unconditional, the current values are needed to build on modern system, I guess the proposed new value would be needed for building on 10.4?
* The patch changes pythonw to use execv unconditionally when building a binary that should work on 10.4, as noted in the discussion it is easy enough to build an executable that uses posix_spawnv when it is available and falls back to execv when it is not. A configure check can be used to detect if posix_spawnv is available at link-time.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7658>
_______________________________________
More information about the Python-bugs-list
mailing list