[issue1597850] Cross compiling patches for MINGW

2013-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: Proposed patch is mostly for cross compilation in general. Now this is implemented differently and I think that all proposed updates are already addressed. Also I can not see relation with gcc( mingw ) builds. What about to close issue as fixed ? --

[issue1597850] Cross compiling patches for MINGW

2013-02-02 Thread Han-Wen Nienhuys
Han-Wen Nienhuys added the comment: yeah, whatever. (only 7 years to close an issue. Yay for open-source.) -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850 ___

[issue1597850] Cross compiling patches for MINGW

2011-05-20 Thread wrobell
Changes by wrobell wrob...@pld-linux.org: -- nosy: +wrobell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850 ___ ___ Python-bugs-list mailing

[issue1597850] Cross compiling patches for MINGW

2011-05-20 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: -gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850 ___ ___

[issue1597850] Cross compiling patches for MINGW

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 3.3 -3rd party, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850 ___

[issue1597850] Cross compiling patches for MINGW

2011-02-13 Thread Alexis Metaireau
Changes by Alexis Metaireau ale...@notmyidea.org: -- nosy: +alexis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850 ___ ___ Python-bugs-list

[issue1597850] Cross compiling patches for MINGW

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850 ___ ___ Python-bugs-list

[issue1597850] Cross compiling patches for MINGW

2010-08-23 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: -1 for the patch (after review of cross-3.0-0.7.diff) : 1) AC_CHECK_TOOLS(CC,gcc cc) and AC_CHECK_TOOLS(CXX,g++ c++) is bogus 2) $CC -dumpmachine when is added AC_CANONICAL_HOST is bogus 3) if (strcmp(buffe,me) 123)) is buggy Good

[issue1597850] Cross compiling patches for MINGW

2010-08-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Distutils is normally frozen for new features, but in this case the changes are small and useful enough to warrant an exception in my opinion (provided the patch is ported to 3.2 and gets a positive review). Tarek, do you agree? --

[issue1597850] Cross compiling patches for MINGW

2010-08-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: the changes are small which patch are you referring to? They look quite large to me. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue1597850] Cross compiling patches for MINGW

2010-08-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: cross-3.0-0.7.diff only changes a few lines in build_ext. I was specifically talking only about distutils changes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850

[issue1597850] Cross compiling patches for MINGW

2010-08-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: For cross-3.0-0.7.diff, we would need a real name and a contributor agreement. Of course, attribution is muddy here; this literally goes back to sraue's patch, which in turn goes back to scott.tsai's patch. I'm still uncertain what it is

[issue1597850] Cross compiling patches for MINGW

2009-07-31 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850 ___ ___

[issue1597850] Cross compiling patches for MINGW

2009-03-02 Thread Joshua Kinard
Joshua Kinard ku...@gentoo.org added the comment: Anyone gotten farther on getting Python-2.5.x to cross-compile? I'm trying to get x86_64-pc-linux-gnu -- mipsel-unknown-linux-gnu, and after some hacking at the last updated cross-2.5.1.patch, plus a fix for the %zd printf bugaboo, plus adding

[issue1597850] Cross compiling patches for MINGW

2008-12-06 Thread n03702
n03702 [EMAIL PROTECTED] added the comment: There is port of cross-2.6-0.7.diff patch for python 3.0 final -- nosy: +n03702 Added file: http://bugs.python.org/file12252/cross-3.0-0.7.diff ___ Python tracker [EMAIL PROTECTED]

[issue1597850] Cross compiling patches for MINGW

2008-11-21 Thread Stephan Raue
Stephan Raue [EMAIL PROTECTED] added the comment: when i crosscompile Python 2.6 with Patch cross-2.6-0.7.diff which is based on cross-2.5.1.patch i become follow error: ld -s -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include

[issue1597850] Cross compiling patches for MINGW

2008-10-08 Thread rwmjones
rwmjones [EMAIL PROTECTED] added the comment: Just to clarify, in the MinGW case we are interested in: build = Fedora Linux, usually i386 or x86-64 (but not always) host = Windows i386 We can, to a limited extent, run the host binaries on the build system, using Wine (the Windows emulator).

[issue1597850] Cross compiling patches for MINGW

2008-10-08 Thread Roumen Petrov
Roumen Petrov [EMAIL PROTECTED] added the comment: Hi rwmjones, Please, could you test patch from issue3871 - python modules are build as setup.py is run from python found on the build system. So I don't expect issue with ppc and sparc. Minor issue is pgen.exe - work around touch grammar files.

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Han-Wen Nienhuys
Han-Wen Nienhuys [EMAIL PROTECTED] added the comment: I'm still interested in this, but the last time I did anything, I jumped through all the hoops (see conversation here), and not a single change was put into trunk. I'm not very enthousiastic about spending a lot time on this again.

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Han-Wen Nienhuys
Han-Wen Nienhuys [EMAIL PROTECTED] added the comment: @Luke the compiling strategy for Python (IIRC) is to compile everything, including modules that will never work, and use compiler errors as a signal to not include a module in the result. this is what I end up with for 2.4

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: the compiling strategy for Python (IIRC) is to compile everything, including modules that will never work, and use compiler errors as a signal to not include a module in the result. I don't think this can work in the cross-compilation

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Roumen Petrov
Roumen Petrov [EMAIL PROTECTED] added the comment: I found the patch cross-2.5.1.patch as too limited. I'm interesting in this topic and I post patch in issue3871 that continue work from issue841454 and issue1412448. -- nosy: +rpetrov ___ Python

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Roumen Petrov
Roumen Petrov [EMAIL PROTECTED] added the comment: Martin meaning of target and host is different. There is no reason to use Canadian Cross: build-host-target. It is about more simple cross-compilation case: build-host. About loading of modules in build environment: some OS-es can run binaries

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Martin meaning of target and host is different. There is no reason to use Canadian Cross: build-host-target. It is about more simple cross-compilation case: build-host. Terminology issues aside, I hope people still will understand my

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Roumen Petrov
Roumen Petrov [EMAIL PROTECTED] added the comment: Now in mingw case the common is python posix build system. If the cross-compilation work what is problem to build in native environment? Personally I prefer to build in cross environment. It is convenient. There is no problem to run python

[issue1597850] Cross compiling patches for MINGW

2008-10-06 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: ok. what's not explained, and isn't clear, is exactly whether you're supposed to - or even _capable_ of - cross-compiling the _entire_ python sourcecode base with mingw32, or whether you're supposed to get _just_ the python.exe

[issue1597850] Cross compiling patches for MINGW

2008-10-06 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: So what's the status of this? Who is still interested in seeing what patches considered? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1597850 ___

[issue1597850] Cross compiling patches for MINGW

2008-10-06 Thread rwmjones
rwmjones [EMAIL PROTECTED] added the comment: I'm very slowly working up a patch here (again 2.5.2). Since I haven't actually got even python.exe compiled yet I can't promise anything, but you never know ... ___ Python tracker [EMAIL PROTECTED]

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: In particular, I think that X-compiling is a common request added another one to the list. justification: pywebkitgtk cross-compiling for win32, using mingw32. i'm not paying for microsoft license fees, i'm not paying for a

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: the cross-compile fails on Parser/acceler.c the reason is because the included file, pyconfig.h, has #define gid_t int for use by the mingw32 compiler, which is... bad! removing gid_t from pyconfig.h bizarrely fixes the compile

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: pyport.h line 773 - commenting out the test for LONG_BIT != 8 * SIZEOF_LONG - we're cross-compiling amd64 host, target mingw32 - 32-bit. ___ Python tracker [EMAIL PROTECTED]

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: line 199 of thread_pthread.h and line 221: Python/thread_pthread.h:200: error: aggregate value used where an integer was expected hmmm... maybe this is due to me using mingw32 based on gcc 4.4.4. well, a quick #if 0 seems to

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: posixmodule.c - line 2328: add this: #if ( defined(__MINGW32__) || defined(__WATCOMC__) || defined(PYCC_VACPP) ) !defined(__QNX__) res = mkdir(path); #else res = mkdir(path, mode); #endif

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: posixmodule: line 3530: #ifdef __MINGW32__ master_fd = open(DEV_PTY_FILE, O_RDWR); /* open master */ #else master_fd = open(DEV_PTY_FILE, O_RDWR | O_NOCTTY); /* open master */ #endif not sure i should be compiling

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: line 6193: #if !defined(__MINGW32__) !defined(MS_WINDOWS) defined(HAVE_FCNTL_H) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1597850

[issue1597850] Cross compiling patches for MINGW

2008-01-20 Thread Christopher Friedt
Christopher Friedt added the comment: I can confirm what John Stowers experienced with ac_cv_printf_zd Did someone forget to run autoconf afterward? When I did, retrying configure again returned an error saying that config.sub was missing. I made configure just write out a yes to the

[issue1597850] Cross compiling patches for MINGW

2007-12-09 Thread John Stowers
John Stowers added the comment: Hello, I recently tried this in combination with jhbuild, cross compiling with mingw (to built some python gtk extensions). I tried you patch against the 2.5.1 version and recieved the following error: checking for /dev/ptmx... yes checking for /dev/ptc... no

[issue1597850] Cross compiling patches for MINGW

2007-12-09 Thread John Stowers
John Stowers added the comment: Sorry, I should have clarified further in my last comment. Looking over the configure script I don't recognize the %zd test as one that could be circumvented by supplying a config.cache file with the appropriate values. How do I escape this limitation?

[issue1597850] Cross compiling patches for MINGW

2007-12-09 Thread Scott Tsai
Scott Tsai added the comment: John, set ac_cv_printf_zd_format. In general, read the configure.in source. On Dec 10, 2007 1:17 PM, John Stowers [EMAIL PROTECTED] wrote: John Stowers added the comment: Sorry, I should have clarified further in my last comment. Looking over the configure

[issue1597850] Cross compiling patches for MINGW

2007-10-27 Thread Scott Tsai
Scott Tsai added the comment: I messed up while generating cross-2.5.1.patch last time. Added a hackish way to set disabled_module_list in setup.py from corresponding environment variable. Added file: http://bugs.python.org/file8628/cross-2.5.1.patch _

[issue1597850] Cross compiling patches for MINGW

2007-10-27 Thread Scott Tsai
Scott Tsai added the comment: Grumble, uploaded wrong version of patch. Added file: http://bugs.python.org/file8629/cross-2.5.1.patch _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1597850 _diff -urN --exclude