|This article is of interest to the following WikiProjects:|
- 1 Pronunciation
- 2 LINK.EXE and LIB,EXE mingw requirements
- 3 Linux-like?
- 4 Remove Distribution Notes?
- 5 MinGW and MSYS
- 6 Origin of the Windows API header files and libraries
- 7 OS
- 8 MinGW 4.3.0 is in preview for a good reason
- 9 License
- 10 GNU Core Utilities
- 11 "Do not need Windows"?
- 12 Copyleft and source code remarks
- 13 FAQ and History Link
- 14 Misleading information and edit wars
- 15 mingw64 fork
- 16 Domain Expired (obsolete)
- 17 Mingw-w64 will need its own article
- 18 Version number?
- 19 oh look! cygwin fanboy here
- 20 "MinGW links by default to the Windows OS component library MSVCRT, "
What is the proper pronounciation for MinGW? Min-gee-double-u? ming-double-u? Em-in-gee-double-u?
Earnie Boyd (one of the project admins) pronounces it Min-gee-double-u if that helps ... (see http://sourceforge.net/mailarchive/forum.php?thread_id=4363554&forum_id=5119 and http://sourceforge.net/mailarchive/forum.php?thread_id=4363555&forum_id=5119 for other thoughts).
It should be pronounced 'minj double-yoo' - as in 'minge'. ;) Pulseczar 16:41, 29 October 2007 (UTC)
LINK.EXE and LIB,EXE mingw requirements
Are requirements for LIB.EXE and LINK.EXE availability specified in library development section still actual?
No way, I removed them. --220.127.116.11 09:50, 22 June 2006 (UTC)
At the risk of sounding too much like RMS, I'm going to be semantic here. Shouldn't it be a GNU-like enviornment, versus a Linux-like one? After all, the G in MinGW stands for GNU. Linux is just a kernel, and as MinGW32 runs on a Windows system, it uses the Windows kernel. It has virtually no link to Linux other than Linux usually using a GNU environment. Mpeg4codec 18:35, 7 January 2006 (UTC)
- The only mention of "Linux-like" I see in the article is with reference to Cygwin, not to MinGW. :) — Haeleth Talk 01:15, 8 January 2006 (UTC)
- Must have gotten my thoughts jumbled. In any case, I believe much of my above argument still applies. Cygwin strives to emulate the user space and library functions, which consist mostly of GNU software (userland, glibc, etc.). Considering that at least one other kernel that I know of has been combined with the GNU utilities (GNU/Hurd), I'd say linking GNU strictly to Linux is not entirely appropriate. In conclusion, I believe the article should be changed to note that Cygwin provides a GNU environment, possibly adding that it is in many ways similar to the environment found on most Linux computers.
- I happen to be of the same opinion, and wouldn't argue if someone were to change the wording here. The reason I used "Linux-like" here (at least, I think that was my doing) is that that's the wording the Cygwin website uses now. Probably because more people know what Linux is like than know about POSIX. :/
- (Incidentally, Cygwin's libc is newlibc, not glibc. Which actually makes it less like Linux, but...) — Haeleth Talk 16:50, 11 January 2006 (UTC)
- I think my edit accomplishes both our goals :). Mpeg4codec 14:40, 12 January 2006 (UTC)
Remove Distribution Notes?
The stuff under "Distribution Notes" should probably be removed... it belongs in some readme file, not in an encyclopedia. 18.104.22.168 03:50, 24 January 2007 (UTC)
MinGW and MSYS
Having read the article I don't remotely understand what either MinGW or MSYS are. Could someone please alter it to explain it more slowly and thoroughly. 22.214.171.124 10:18, 3 July 2007 (UTC)
- Err, yeah, it is a bit technical right now. The key thing is that it's a Windows-native port of the GNU build system, which lets people use GCC and other free software for developing on Windows. Chris Cunningham 11:56, 3 July 2007 (UTC)
- Well, what is your frame of reference? Why did you come to this article, to start? Are you a programmer? A *nix user? Ham Pastrami (talk) 17:43, 11 February 2008 (UTC)
Origin of the Windows API header files and libraries
Where do the Windows API header files come from ? It is supplied with a set of API libraries as well, even more curious to know where these come from. Also they obviously don't infringe on Microsoft copyrights. 126.96.36.199 22:53, 6 September 2007 (UTC)Andy Page,Bristol,Uk
- I'd be interested to know this as well. I'm not entirely certain that it doesn't infringe on copyrights. Short of reverse-engineering the entirety of Win32, I don't see how else they would have come up with the headers and libraries except by basing it on Microsoft's Platform SDK (or the contents of Visual Studio) and the binaries that ship with Windows. But Microsoft also provides some of this free of charge, and perhaps with authorized redistribution so it's not necessarily an infringing use. Ham Pastrami (talk) 07:00, 11 February 2008 (UTC)
- The devs claim that w32api package is made using publicly-available documentation (MSDN, articles, books) and some reverse-engineering, and they never based anything on MS Platform SDK, didn't even look at it. In fact, they have (at the moment of writing) very strict policies about including things into w32api package, claiming that since mingw has many users, it is their duty to protect them from potential legal threats, and since they have no money for lawyers, the best thing they can do is to make sure the code is not infringing. This level of cautiousness can be viewed by some people (i.e. me) as ridiculous. Especially in comparison with mingw-w64 project. L.R.N (talk) 18:01, 8 March 2013 (UTC)
Should the OS be listed as Windows or cross-platform? From what I know MinGW runs in GNU/Linux, and it's stated in the article that MinGW can be used to cross-compile. CHL (talk) 13:09, 4 May 2008 (UTC)
- From what I can see on the project page, MinGW's binaries are not provided in any form other than for Windows. Ham Pastrami (talk) 18:53, 4 May 2008 (UTC)
- That information would apply mainly to users of those Linux distros, not to users of MinGW in general. For reasons of clarity, forks of open source software do not become additive to discussing the base topic. Additional functionality that gets added on by third parties is discussed separately, assuming it is noteworthy and verifiable. Ham Pastrami (talk) 02:18, 5 August 2009 (UTC)
- The Windows headers MinGW provides can be used to cross-compile. The Unix binary for MinGW's compiler is, like, GCC. Chris Cunningham (not at work) - talk 21:21, 4 May 2008 (UTC)
MinGW 4.3.0 is in preview for a good reason
Came across an issue recently with gcc / MinGW compiler not working right and it turned out it wasn't just me -- relevant linuxhelp.150m.com article (1) Fortunately, someone else figured out and successfully made a cross-compiling / porting toolchain (not sure if they of the specific architecture, but they seemed to be using x86 / ia32 / ia64 / amd64) and did their cross-compiling successfully by reverting to gcc 4.2.3 relevant linuxhelp.150m.com article (2) ... I just can't think of any useful comments to add to either the MinGW or GNU Compiler Collection article about the sad reality -- STABLE releases of such cross platform / portable / cross-dev tools can sometimes be very outdated (over 2 years) Kuzetsa (talk) 21:29, 16 June 2008 (UTC)
The text under Comparison with Cygwin claims:
[I]ts runtime shell MSYS is licensed under a permissive license.
I am not sure this is correct; for example, the MSYS_LICENSE.rtf which came with the release installed here begins with MSYS contains several different other packages. Most of those packages are licensed by the GNU Public License (GPL). Yet I am not a lawyer, neither am I the person which wrote it in the first place so I do not want to directly erase it. AntoineL (talk) 12:10, 29 July 2008 (UTC)
- The mingw home page states that the "base runtime", which I assume to mean the shell environment provided in the MSYS package, is in the public domain; the GNU-derived packages included in the MSYS installer are licensed under GPL; the WinAPI headers appear to have a BSD-like license with an anti-copyleft clause. Anyone else want to try interpreting? Ham Pastrami (talk) 13:34, 29 July 2008 (UTC)
- MinGW consists of multiple packages, most of them either have exceptions to GPL (i.e. GCC, binutils), use weak copyleft, or are only used at build-time (i.e are just tools, not libraries). MSYS is a Cygwin fork, and has lots of GPL elements. Applications and libraries built with MinGW don't have any licensing problems, most of the time (the compiler and all base headers won't require the code to be GPL-licensed). Meanwhile, applications and libraries built with MSYS are, AFAIK, GPLed, all of them, because they all depend on MSYS runtime library. Note that the only purpose of MSYS is to provide an environment for running programs that can't be ported natively to W32 (such as the 'bash' shell to run scripts - i.e. Autotools). Since MSYS is only used at build-time, it does not create any licensing problems for programs built with the help of MSYS.
- MinGW can be used without MSYS, if some non-autotools build system is used (CMake, SCons, etc). L.R.N (talk) 18:01, 8 March 2013 (UTC)
GNU Core Utilities
- GnuWin32 consists of GNU utilities that were natively ported to W32. The ports are, IMO, rather incomplete (the library that provides POSIX compatibility for GnuWin32 has lots of stubs in it), and thus might miss some functionality (one of the features that should be missing is the ability to consistently interpret *nix-style paths (the ones that start with '/') in the input and produce such paths in the output). Naturally, GnuWin32, to my knowledge, does not provide a shell (bash), or ports of any other program that relies heavily on non-portable POSIX functions, such as fork(). L.R.N (talk) 18:01, 8 March 2013 (UTC)
"Do not need Windows"?
From the article:
- This means that developers do not need a Windows installation with MSYS to compile software that will run on Windows without Cygwin.
- Of course it does. It's not like Linux developers frequently have ready access to all sorts of weird Unixes that gcc will let them target, but it's still a bonus to be able to release binaries for them. Chris Cunningham (not at work) - talk 15:22, 22 April 2009 (UTC)
- But why would a developer release a binary if he doesn't know that the binary even works? --Damian Yerrick (talk | stalk) 15:27, 22 April 2009 (UTC)
- The article doesn't say that. Developers can (and should) have separate testing environments anyhow. Ham Pastrami (talk) 02:13, 23 April 2009 (UTC)
- Wine is an option for running tests. Also, cross-compiling is faster than using MinGW/MSYS+autotools (to the point that it might be faster to run a GNU/Linux guest system in a VirtualBox that runs on a host W32 system to cross-compile W32 binaries for use on that host system). L.R.N (talk) 18:01, 8 March 2013 (UTC)
- But why would a developer release a binary if he doesn't know that the binary even works? --Damian Yerrick (talk | stalk) 15:27, 22 April 2009 (UTC)
Copyleft and source code remarks
I noticed the following toward the end of the article:
"Accordingly, this approach requires Win32 programs written with Cygwin to run on top of a copylefted compatibility library that must be distributed with the program, along with the program's source code."
Not that I'm taking sides in this eternal debate, but isn't the above angrily disputed? I believe the FSF insists quite loudly that compiling non-GPL software with their tools and linking against their libraries is entirely permitted and that anyone who says otherwise is either a flaming idiot, or is deliberately trying to scare people away from using the GNU tools as part of some massive worldwide capitalist conspiracy.
- You might wanna read GPL vs GPL linking exception vs LGPL. Also might be of interest that Cygwin's compatibility library is not GNU code, so it's not the FSF's place to decide the licensing terms for it. I'm thinking this is probably important to understanding the argument, or at least shows some attempt at understanding before calling other people idiots. Ham Pastrami (talk) 07:57, 8 May 2009 (UTC)
FAQ and History Link
I saw on the article that the MinGW FAQ leads to , although still valid, there isn't a "faq-what" anchor. The history link pointing to  isn't valid anymore, its now . Why was my edit reverted? 188.8.131.52 (talk) 03:31, 5 August 2009 (UTC)
- The link edits were reverted mistakenly, as I reverted back to an earlier edit. I re-added these fixes to the article. Ham Pastrami (talk) 01:55, 6 August 2009 (UTC)
Misleading information and edit wars
I tried to take out some misleading information about MinGW and its relationship to Cygwin, but it was reverted. Oh well, I don't have time for any silly games. So I will just state what I think are the facts here, then.
The article needs to point out more clearly that MSYS is intended to be used when building software and not when running it, to avoid people getting the misguided impression that MinGW-compiled code would have access to some a POSIX-like environment (as far as external commands go). (Sure, you can bundle MSYS with your MinGW-compiled app, but that is not a normal thing to do, and you could do so as well with a MSVC-compiled app, it is not a property of MinGW.)
The article gives the misleading impression that MinGW and Cygwin are both intended for more or less the same purpose, to port software from POSIX. Sure, I agree that MinGW is often used when building software originally written for POSIX (or originally written to be cross-platform). But that is mostly just because people are familiar with gcc and its use, and it fits in in existing build infrastucture, configury, makefiles, libtool, etc, more easily. MinGW can as well be used to compile code written only for Windows. MinGW should be seen as an alternative to Microsoft's compiler, as the APIs it provides are the same, as it uses the same C library. This is very different from Cygwin.
MinGW can in no way be said to be a fork of Cygwin. It is MSYS that is a fork of Cygwin. Don't confuse the two. It is perfectly possible to use MinGW without using MSYS. Cygwin (and thus MSYS) is a POSIX-like operating system hosted on top of Windows. MinGW is the GNU compiler and binutils confugured to produce and handle Windows binaries, plus the headers and import libraries required for compilation of such.
- I understood it to mean that MinGW could be considered a fork of parts of Cygwin in the sense that it is a fork of
gcc -mno-cygwinand the support libraries that it uses. --Damian Yerrick (talk | stalk) 19:46, 5 August 2009 (UTC)
- But were those (very minor) support libraries used by non-Cygwin MinGW-compiled code created as part of the Cygwin project? Or the import libraries and headers (w32api)? Some reference to clear historical evidence would be needed here. And anyway, the main part in Cygwin is the POSIX emulation, surely, which MinGW has nothing to do with. TorLillqvist (talk) 08:25, 6 August 2009 (UTC)
- The problem is phrases like "should be seen". This is a qualitative judgment that requires reliable sources. If people tend to use it in a way that they "should" not, it is not Wikipedia's place to tell them they are wrong for doing it. See Damian's comments re: the "fork" of Cygwin. You can clarify this part if you wish, as long as you keep it factual (e.g. "this package was forked, this one wasn't", and not "MinGW should not be considered a fork of Cygwin"). Ham Pastrami (talk) 01:36, 6 August 2009 (UTC)
Does this discussion thread, or more specifically this reply, fix the "no sources to support significance of fork" issue? One of the MinGW developers also called mingw64 "an unsanctioned fork" in this discussion (expand the comments section).
- Please have a look at WP:RS and WP:V to see what Wikipedia considers a "source". (And note also that MinGW itself is on shaky ground in this respect, so is not a good example to live up to.) Ham Pastrami (talk) 02:10, 14 August 2009 (UTC)
This is absurd. I can't believe there are people so ignorant and/or hateful that they would argue that Mingw-w64 is insignificant and has no relation to MinGW. I guess this is proof that there is no hope for remerging. Come on, someone at MinGW, go on record with the truth, show that there are good people in your project and we should still consider you as our sister project, or I will accuse MinGW (once known as Mingw32) of being the actual fork itself, and Mingw-w64 being the main thread. Prove it otherwise. This is like something out of a Kafka novel. Xenofears (talk) 03:27, 14 August 2009 (UTC)
- I see, so you ask for clarification, and when that clarification is given in no uncertain terms, which you fail to meet, you call the whole thing a farce and make threats about disrupting the article. There's a reason these policies exist, not the least of which are to guard the encyclopedia against unsubstantiated opinions and conflicts of interest. Just so you know, you're hardly the first person on Wikipedia to try this approach, though you would be the first to succeed. You're welcome to try making good on your threats; however, since we've already had this discussion and you've made your attitude and your intentions known, don't expect much warning in the level of response. Of course, you could also continue the discussion rationally. Your choice. Ham Pastrami (talk) 17:03, 14 August 2009 (UTC)
There is no "clarification" required. Anyone who has been part of MinGW that isn't totally ignorant wouldn't bring up such a ridiculous question/accusation/judgement. I do not wish to continue this discussion. Bye! Enjoy the silence. Xenofears (talk) 03:59, 15 August 2009 (UTC)
- If no clarification was required, then why did you ask for one? Now you're just contradicting yourself. You're the one who is completely ignorant of Wikipedia's processes and should have known better than to throw a tantrum and spew threats and insults. And somehow you manage the nerve to call others ignorant and hateful? Here's another expression you should add to your repertoire: self-righteousness. You seem to be under the impression that MinGW has anything to do with the page, or that I have anything to do with MinGW. My association is with Wikipedia, and so should yours be when you are editing. If you don't understand why that is, that's one of the reasons your edits get reverted. Don't let the door hit you. Ham Pastrami (talk) 05:22, 15 August 2009 (UTC)
Mingw-w64 version of headers and runtime does not bear any obvious signs of being derived from mingw.org, and the rest of the toolchain (GCC, binutils) is from upstream anyway. Please don't claim mingw-w64 to be a mingw.org fork, unless you have a solid proof. L.R.N (talk) 18:01, 8 March 2013 (UTC)
Domain Expired (obsolete)
It seems that the domain mingw.org has expired and was not renewed. Thus the "homepage" link leads to a parked domain.
The project is alive and well. If you want to see the original server, use 184.108.40.206 for 'mingw.org' in your hosts file.
Cyberwizzard (talk) 15:00, 2 February 2010 (UTC) I added an explicit note about the hijack of the domain to the page as I found multiple forum posts about the disappearing mingw.org site but nothing on normal pages. Perhaps hijacking is a strong word here but since the domain is for a popular project, registering it for a 3rd party should be considered rude (at least).
As soon as the domain has been restored or a new domain is assigned, the note and this section can be removed again (unless someone thinks it is historically relevant, which would require a new section).
- I removed the assertion that the domain was hijacked because no citation to a reliable source was provided. -- Schapel (talk) 15:49, 2 February 2010 (UTC)
Mingw-w64 will need its own article
- I personally have no opinion about having a second article, however, I do think the MinGW-w64 section should be given its own infobox. Before I add it myself, I would like to hear some comments. X-Fi6 (talk) 03:41, 17 July 2013 (UTC)
Current page shows "Stable release 0.6.0 - beta". While this version number is indeed that of mingw-get. Suggest to use "mingwrt-4.0.0-1, w32api-4.0.0-1, gcc 4.7.2". — Preceding unsigned comment added by 220.127.116.11 (talk) 14:52, 7 April 2015 (UTC)
"The combination of MinGW and MSYS provides a small, self-contained environment that can be loaded onto removable media without leaving entries in the registry or files on the computer. Cygwin Portable provides a similar feature that is far more robust."
The MS Visual C RunTime Library is not the Windows API (which you can easily find described on the MS web sites): it is a MS implementation of parts of the POSIX/standard C API (POSIX defers to the Standard C Library for that part of the POSIX definition). Note: calls to the standard c library are not direct calls to the Windows API.
It's a common mistake for people coming from the Open Source side, because (as noted above), the standard C library /is/ the POSIX API (and always has been: unix exposed the system API as the unix programing environment).
It's sometimes a problem for programmers because (1) Using the C library as a wrapper around the native Windows API has performance implications, and (2) It's often confusing for programmers from other languages to read some behaviour described as "windows does this", when the behaviour is actually that of the MS c library, and is not implemented by the native Windows API (as documented by MS) at all. — Preceding unsigned comment added by 18.104.22.168 (talk) 00:46, 10 November 2016 (UTC)