compiling embedded python on OS X
I haven’t yet figured out how to take this code:
#include <Python.h>
int main() { PyInitialize(); PyRunSimpleString(“print 2100″);}
And compile it. I’ve tried gcc -I${PYTHON}/include/python2.3 -o test test.c but I don’t know what library to use… or where to find it.