Using C++ and ctypes together: a vast conspiracy? ;)

Philip Semanchuk philip at semanchuk.com
Fri Jun 5 17:21:28 CEST 2009


On Jun 5, 2009, at 10:13 AM, Thomas Heller wrote:

> skip at pobox.com schrieb:
>>>> If there is no C++ compiler available then the proposed layout  
>>>> sniffing just
>> wouldn't be done and either a configure error would be emitted or a  
>> run-time
>> exception raised if a program attempted to use that feature.  (Or the
>> sniffing could be explicitly enabled/disabled by a configure flag.)
>>
>
> Hm, on Linux, gccxml (if its version is compatible with that of the C 
> ++ compiler)
> can probably help a lot.  At runtime, no configure step needed.
> Unfortunately not on Windows.

I'm not a gccxml user, but its install page has a section for Windows:
http://www.gccxml.org/HTML/Install.html


HTH
P



More information about the Python-list mailing list