Thanks. My questions are almost answered. The only point I need to know is, apart form POSIX compliant make scripts, what other form(s) of makefiles exist(s) which is/are accepted by mingw32-make?

On 18 August 2012 19:37, LRN <> wrote:
Hash: SHA1

On 18.08.2012 17:32, Dipanjan Das wrote:
> 1. There are gcc.exe, mingw32-gcc.exe, mingw32-gcc-4.7.0.exe,
> mingw32-gcc-4.6.2.exe under /MinGW/bin directory. Why are so many
> versions of the same utility kept?
On sane platforms gcc.exe is a symlink to whatever the default gcc is
(to mingw32-gcc-4.7.0, for example). doesn't use symlinks on
W32 (even on newer NTFS disks where symlinks are available), so these
are copies. Although AFAIR on W32 gcc uses wrapper executables, so
they may be that (check filesize; if it's ridiculously small - it's a
Ditto for mingw32-gcc.
Not sure why 4.7.0 and 4.6.2 are installed simultaneously.
> 2. There are /MinGW/bin/mingw32-make.exe and /msys/1.0/bin/make.exe
> - both exist together. I just learnt that to set up MinGW toolchain
> properly on Windows, I should use the make residing under the /msys
> directory. Then whay the other one is provided at all?
Because toolchain is independent from MSYS, and is installed
with the packages that are enough to make use of it without MSYS (and
its make). Which means that it includes mingw32 version of make.
Though "toolchain" here stretches things too far. You've used a GUI
installer, which installs toolchain and a bunch of packages that are
not strictly part of the toolchain. GUI installer isn't picky. If you
want to install ONLY what you want, download only mingw-get, and
install everything with it.
> 3. If I download MinGW, then it is not a mandate to download MSYS,
> too. Am I right? If so, them why am I forced to used make from MSYS
> while using gcc from MinGW distribution?
You are right.
You're not forced to use MSYS make when using MinGW toolchain. You are
forced to use MSYS make when using makefiles that are written with
POSIX in mind (mingw32-make won't work on them correctly). Which is
99.9% of makefiles of all packages that use configure scripts (which
is why MSYS exists).
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla -


Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:


Thanks & Regards,