Open GitMensch opened 3 years ago
MinGW as a project is all but dead.
Any reason not to use mingw-w64?
thanks very much!
MinGW as a project is all but dead.
Nope, they still work on it (just with a pace that is much slower than mingw-w64), see its mailing list and the "recent" release of GCC currently at 9.2 - later than the post which claims it is dead ;-)
Any reason not to use mingw-w64?
One reason would be the often lesser dependency and support back to Win9x while mingw-w64 seems to be depending on Windows Server 2008 / Win Vista and its packaging within MSYS2 needs Windows Server 2008 R2 / Windows 7 (cygwin deprecated Windows Server 2008, too).
I did not found the following information and wanted to drop it it here - you may close this issue, copy part of it to documentation, include the patches or whatever you like. This information is partially written from mind so it may not be complete, still should give a good starter.
Prerequistes (rough outline):
mingw-get.exe list
(this should auto-download the necessary package lists)mingw-get.exe install gcc g++ autotools msys-libregex msys-wget msys-coreutils-ext msys-patch msys-help2man
(this should get you at least most of the necessary tools)Patches:
lib_uname.$(OBJEXT)
toam_conf_OBJECTS
,am_mconf_OBJECTS
,am_nconf_OBJECTS
-lregex -lws2_32
toconf_LDADD
,mconf_LDADD
,nconf_LDADD
(or cleaner: define a new WIN_LIBS with those two and reference this in the three places (then config.in could use a conditional to have it defined as empty or with that content)Then run
make
and use crosstool-ng per standard instructions.Note: depending on the way you've got crosstool-ng and where you've unpacked it first you may have to manually rename some of the patch files (
make
will in this case say "don't know how to make 0011-xyz-long-name.patch` and the file name is shortened, in that case just rename via Explorer to the requested name and you should be fine).Note: for the current curses version you also need a matching libgcc_s_sjlj-1.dll, if you don't have that, you may want to try this one. When using ct-ng: always unset
TERM
, otherwise it won't work from within msys.