I\'m doing my first test with Cython. Basically the hello.pyx
example from http://docs.cython.org/src/quickstart/build.html
When I want to compile I get
If tools gendef and dlltool are installed, the following should be possible in a temporary directory (assuming msys or cygwin environment):
gendef c:/Windows/System32/python27.dll
dlltool -U -d python27.def -l libpython27.dll.a
cp libpython27.dll.a c:/Python27/libs
Substitute C:/Python27 if necessary.
gcc will now use the generated file instead of some existing .a
or .lib
file.