[Pythonmac-SIG] Embedded Python compiling help

Michael Gaiman mgaiman at gwu.edu
Sun Nov 21 03:41:00 CET 2004

Hi All,

I'm getting started embedding python for a school project.  I am  
starting by getting the program listed in  
http://docs.python.org/ext/pure-embedding.html.  The next step is  
compiling.  I've tried quite a few gcc commands, but no dice.  The  
latest command I've tried is

python2.3/config -o runfunc run-func.c  which fails due to undefined  

If anybody could take a minute and list the correct gcc command to  
compile and link this program, I would be very grateful.

I'm using MacOSX 10.3.6 with the built in python.

More information about the Pythonmac-SIG mailing list