# hello.c
#include <stdio.h>
main()
{
printf ("Hello World!\n");
} gcc-c hello.c1. Gcc –shared –o hello.dll hello.oNow I've got a dll...but it's not clear to me how to utilize in Python via Cython. I've seen a couple examples to do this leveraging ctypes, but my understanding is that's more dangerous and requires more manual intervention.
Yes, see http://docs.cython.org/src/tutorial/clibraries.html . You'll
have to list your 'hello' library in the libraries section of your
setup.py.