Re: problems with embedded python on cygwin.

2009-04-28 Thread Dave Korn
bailey2r wrote: > which crashes when I run it in cygwin. It merely crashes; i get the > illegal operation window. > > I compile it by using: > > gcc -Wall -IC:/cygwin/usr/include/python2.5 > -LC:/cygwin/usr/lib/python2.5/config embed.c -lpython2.5 -lm > > It compiles just fine. I just get the

problems with embedded python on cygwin.

2009-04-28 Thread bailey2r
First, I've read about the _socket problem in cygwin and am assuming that in the latest python 2.5.2 or cygwin this problem has been solved? I can import _socket just fine in the intereactive interpreter in cygwin; the problem is embedding python into C code. I have a C program: #include