Re: Embeding python with mingw on win32 and python 2.4.4

2008-01-28 Thread mani
It's me answering my self. I found the solution in http://groups.google.com/group/comp.lang.python/browse_thread/thread/4d80df2e53dfa127/de87533c05d8021c?lnk=gst&q=Py_Initialize+undefined+reference#de87533c05d8021c It was the problem of gcc arguments order. -- http://mail.python.org/mailman/lis

Embeding python with mingw on win32 and python 2.4.4

2008-01-28 Thread mani
Hi I'm bringing up an old story once more! I'm on win32 (winxp sp2) python 2.4.4. mingw gcc version is 3.4.5. msys is in c:\msys. mingw is in c:\mingw and python is in c:\pyton24. there are also python24.lib and libpython24.a in c:\python24\libs. when I try to compile this sample code [1] from msy

Embeding python with mingw on win32 and python 2.4.4

2008-01-28 Thread mani
Hi I'm bringing up an old story once more! I'm on win32 (winxp sp2) python 2.4.4. mingw gcc version is 3.4.5. msys is in c:\msys. mingw is in c:\mingw and python is in c:\pyton24. there is also python24.lib and libpython24.a in c:\python24\libs. when I try to compile this sample code [1] from with