[issue10615] Trivial mingw compile fixes

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10615] Trivial mingw compile fixes

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> MinGW is unsupported - close all open issues and list them here. ___ Python tracker ___

[issue10615] Trivial mingw compile fixes

2020-11-11 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue10615] Trivial mingw compile fixes

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue10615] Trivial mingw compile fixes

2013-07-17 Thread Roumen Petrov
Roumen Petrov added the comment: This patch cannot be closed as contain some fixes not reported/proposed yet . For instance I'm not aware of name clash in Modules/_pickle.c . I think that other are in scope of issue3871 or earlier . -- ___ Python tr

[issue10615] Trivial mingw compile fixes

2013-04-02 Thread Mark Lawrence
Mark Lawrence added the comment: #17605 titled "mingw-meta: build interpeter core" was opened on 2013-03-31 so I believe this can be closed as superseded. -- nosy: +BreamoreBoy ___ Python tracker _

[issue10615] Trivial mingw compile fixes

2011-02-15 Thread Ralf Schmitt
Changes by Ralf Schmitt : -- nosy: +schmir ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10615] Trivial mingw compile fixes

2010-12-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: > - Embedding Python by just compiling/linking all the .c files in > seems to be a major feature to me; so fixing compilation is useful > for its own If that's the objective of the patch, I'm -1 on it. > - The win32 build system has never used "configure;make

[issue10615] Trivial mingw compile fixes

2010-12-06 Thread Johann Hanne
Johann Hanne added the comment: Two corrections for the "configure;make" workaround: - WRONG: Remove the created pyconfig.h and replace PC/pyconfig.h with the manually modified version I'm attaching - CORRECT: Remove PC/pyconfig.h and replace the created pyconfig.h with the manually modified v

[issue10615] Trivial mingw compile fixes

2010-12-06 Thread Johann Hanne
Johann Hanne added the comment: > However, if the patch doesn't manage to make "configure;make" work, it's IMO > useless. No, it's not, for two reasons: - Embedding Python by just compiling/linking all the .c files in seems to be a major feature to me; so fixing compilation is useful for its o

[issue10615] Trivial mingw compile fixes

2010-12-06 Thread Johann Hanne
Johann Hanne added the comment: - Why is the generated pyconfig.h not good enough? Could we modify the ./configure script instead? Probably setup.py needs to be extended; I did not have a deep look into the build system though - the "empty.c" should remain empty... Why not use PC/WinMain.c in

[issue10615] Trivial mingw compile fixes

2010-12-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: > As for the reproducibility issue: The configure/Makefile system > coming with Python simply doesn't support creating a Windows build. I > hope it's clear that the patch is NOT about creating a Windows > installer. If this is a requirement for getting my patch

[issue10615] Trivial mingw compile fixes

2010-12-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Thanks for the explanations! These instructions should be turned into a patch. Some questions already: - Why is the generated pyconfig.h not good enough? Could we modify the ./configure script instead? - the "empty.c" should remain empty... Why not use PC

[issue10615] Trivial mingw compile fixes

2010-12-06 Thread Johann Hanne
Johann Hanne added the comment: As promised, here comes the list of modules which successfully compile with MinGW: ./Python-3.1.3/PC/import_nt.o ./Python-3.1.3/PC/_subprocess.o ./Python-3.1.3/PC/dl_nt.o ./Python-3.1.3/PC/msvcrtmodule.o ./Python-3.1.3/PC/winreg.o ./Python-3.1.3/Parser/pgen.o .

[issue10615] Trivial mingw compile fixes

2010-12-06 Thread Johann Hanne
Johann Hanne added the comment: > Traditionally, MingW-compiled Python binaries would often be binary-incompatible I don't plan to distribute a MinGW compiled package as an alternative to the official MSVC based build. In my particular use case, I compile everything into a single exe and put

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > > IMO this is a use case for the new "soabi" tag... > Unfortunately not: these tags are not supported on Windows. So it's a argument for adding (optional?) soabi tags on Windows! -- ___ Python tracker

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > IMO this is a use case for the new "soabi" tag... Unfortunately not: these tags are not supported on Windows. -- ___ Python tracker ___ ___

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > Sure - it actually builds a python.exe which is fully working for me. > If you need a proof, please let me know, I have no problem uploading > it somewhere... This is useless, of course. The build must be reproducible. Here is what I did so far: - Ope

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > As a consequence, extensions built for the official > binaries would crash in the MingW build, and vice versa IMO this is a use case for the new "soabi" tag... -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > After all, the Win32 platform is not that uncommon. I know, MinGW > could be seen as a different platform, but I never encountered a > situation where I required anything but the exe file (no special > MinGW DLL or something like that). Traditionally, MingW-

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Johann Hanne
Johann Hanne added the comment: Ok, I see. And no, this is *not* my intention. I will post the list of successfully compiled objects files and the linker result on Monday as promised. If it turns out I lied, feel free to put me into the hall of shame. After all, the Win32 platform is not that

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Sure - it actually builds a python.exe which is fully working for me. If you > need a proof, please let me know, I have no problem uploading it somewhere... > > Is there a reason you are so sceptical? After all, Python for Linux is also > usually compiled

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Johann Hanne
Johann Hanne added the comment: >Will it then also link something? Sure - it actually builds a python.exe which is fully working for me. If you need a proof, please let me know, I have no problem uploading it somewhere... Is there a reason you are so sceptical? After all, Python for Linux is

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 04.12.2010 09:32, schrieb Johann Hanne: > > Johann Hanne added the comment: > >> When the patch is applied, what's the resulting status of mingw compilation? > > It compiles all C files which I require. Not sure if this is really *all* C > files, but at

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Johann Hanne
Johann Hanne added the comment: >When the patch is applied, what's the resulting status of mingw compilation? It compiles all C files which I require. Not sure if this is really *all* C files, but at least very close to all. I will post a list of object files I get on Monday. -- ___

[issue10615] Trivial mingw compile fixes

2010-12-03 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10615] Trivial mingw compile fixes

2010-12-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: When the patch is applied, what's the resulting status of mingw compilation? -- nosy: +loewis ___ Python tracker ___ _

[issue10615] Trivial mingw compile fixes

2010-12-03 Thread Johann Hanne
New submission from Johann Hanne : Some C files fail to compile with mingw, mostly due to missing preprocessor statements: - Modules/_ctypes/callproc.c When using the bundled non-msvc libffi, ffi_call has no return value, so only use it when compiled with msvc. - Modules/_pickle.c There are Win