pyconfig on 64-bit machines with distutils vs 32-bit legacy code

"Martin v. Löwis" martin at v.loewis.de
Sun Mar 22 14:30:47 EDT 2009


Rob Clewley wrote:
> I got my colleague (Nils) to run exactly the gcc call you described in
> your post (see below for what he ran) but it only returns the
> following:

Sehr seltsam. Welche gcc-Version ist das denn? (gcc -v)

> /home/nwagner/svn/PyDSTool/PyDSTool/tests/dopri853_temp/dop853_HHnet_vf_wrap.c:124:20:
> error: Python.h: Datei oder Verzeichnis nicht gefunden

Auch sehr seltsam. Ist Python.h auf dem Suchpfad vorhanden?

Wenn man eine Datei nur mit

#include <Python.h>

schreibt, und dann

gcc -E -<die ganze I-Optionen> datei.c

schreibt, ergibt sich dann eine Ausgabe? Wenn man dann -dD hinzunimmt:
was passiert?

Viel Erfolg,

Martin



More information about the Python-list mailing list