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 <lrn1986@gmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
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). mingw.org 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
wrapper).
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 mingw.org 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).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQL6GKAAoJEOs4Jb6SI2CwZwkIAN9kTV4FOTtAiBTMjKZ9/xw8
G7wwgtzbZjEBX2+LoQTi5oLhf7WY+OdAblB0StkfNwZLcqym/Y31XVJa3MtL0jaP
mOZaJzL/AVAHqClV8kougA9KXCg3bD8rwKDT/n4jedUsLoPssYFrOsXNYSwDzv4z
r3zMeNme58EpyhwVr5eOjWGIMsoQKpafQKWIK/hQBE6RuKg7VnZg/uL2C1Nv6vJr
D+HvpVuPvGmd63I25+ZF8NKn5QEgZjcFWrFVyCRUpu1PjBJULuThPrx1lESxcJZN
2EE9LFOojThxpY7nSPthO3PKt2RDAeaSEIuNzry1mxV2vAa4nBd8sFTq5D+gRMY=
=brNQ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe



--

Thanks & Regards,

Dipanjan