New submission from smartmobili <foru...@smartmobili.com>: Hi,
I can see that python still doesn't support mingw environnment whil during past years some people provided some patch. I wanted recently to compile Python-3.0.1 on mingw and I have found a patch in a svn repository of a opensource project(don't remember which one)- So I attach it and I hope it will studied by python dev. Generally it's not very difficult, you should add some #ifdef __MINGW32__ when needeed and hack around these lines. Don't understand you still don't support it. So this patch is a first step because it doesn't work very well, I mean I had to copy manually errmap.h from PC to include folder. And after I get an issue : gcc -L/usr/local/lib -o python.exe \ Modules/python.o \ libpython3.0.a -lm Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Fatal Python error: Py_Initialize: can't initialize sys standard streams ImportError: No module named encodings.utf_8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. make: *** [sharedmods] Error 3 ---------- components: Build files: python3-mingw.patch keywords: patch messages: 89663 nosy: smartmobili severity: normal status: open title: Add support for mingw type: feature request versions: Python 3.0 Added file: http://bugs.python.org/file14353/python3-mingw.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6335> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com