[issue1516] make _ctypes work with non-gcc compilers

Greg Couch report at bugs.python.org
Thu Nov 29 20:46:17 CET 2007


Greg Couch added the comment:

The modications work on Tru64 and IRIX.  cc has understood .s suffixes
for a long time.  You use cc instead of as because it knows how to run
the C preprocessor (often /lib/cpp, but not on all systems).

Looking at the Solaris cc manual page (via google), I see that its cc
has the same .S and .s distinction that gcc has, so my patch will not
work with Solaris either.  IRIX has a separate issue in that it has
libffi support for n32 binaries, but doesn't have the ffi_closure
support, so while libffi compiles, _ctypes still fails  to compile (same
would be true if gcc were used).

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1516>
__________________________________


More information about the Python-bugs-list mailing list