Peter H wrote:
> Still not sure about the order [install MinGW or MSYS first]...
You can install in either order; it doesn't really matter.
I've always understood that it is easier to install MinGW first;
it doesn't *need* to be installed in /msys/mingw, and in fact, the
default is C:/MinGW; (I have mine in D:/MinGW).
When you install MSYS, the installer will ask where you installed
MinGW, and provided it finds it where you say, it will automatically
define an fstab reference to point /mingw to it. If you defer the
MinGW installation until after the MSYS installation, then you will
have to add that reference to /etc/fstab manually.
When you install MinGW or MSYS, it's generally best to accept the
default locations; (change the device root from C: to D:, or any
other device you prefer, but otherwise leave the path unchanged).
In particular, *never* install under "Program Files", (nor any
other path with spaces in its name); that is surely asking for
trouble further down the line.
The caveat about installing MinGW within the MSYS tree applies
specifically to the <msys-root>/bin and <msys-root>/usr/bin
directories; with all versions prior to msys-1.0.11, it was not
permitted to place non-MSYS binaries, (including MinGW's), in
either of these directories. If you simply accept the defaults
in both cases, all will be well; if you specify something other
than the defaults, then just be sure that you specify something
different for each: i.e. <msys-root> is the path you tell the
MSYS installer to use, (default = C:/msys/1.0), and <mingw-root>
is what you specify for MinGW, (default = C:/MinGW); you *must*
ensure that <mingw-root> != <msys-root>, if you are using MSYS
prior to 1.0.11.
BTW, I would agree with Michael: MSYS 1.0.11 has had a long
enough run as `Candidate', to be considered stable. We expect
it to be promoted to `Current' RSN, (when Earnie finds time).