On 2024-08-17 10:12, Brian.Inglis@SystematicSW.ab.ca wrote:
The same libtool can be run from a Cygwin, Msys2/Mingw64, or
Msys/Mingw/32 shell: as far as I know such recent shells are derived
from Cygwin or upstream dash/mksh/tcsh sources, and I do not remember
any such Windows switch or drive mangling, unless by ancient legacy
original Mingw/32/Msys shells, which are unlikely to still be in use
nowadays, as development and support likely long moved to their
successors.
It works just as I described in a reasonably recent version of MSYS2 (I
have version 20240113 installed) on a current version of Windows:
$ cmd //c echo /home
C:/msys64/home
$ cmd /c echo /home
Microsoft Windows [Version 10.0.22621.3880]
(c) Microsoft Corporation, All rights reserved.
C:\msys64\home\nbowler>
Virtually identical behaviour is observed with a very old MSYS 1.0.8
installation on Windows 98:
$ cmd //c echo /home
D:/MSYS/1.0/home
$ cmd /c echo /home
Invalid switch
Too many parameters
Too many parameters
Invalid switch
Invalid switch
Invalid switch
Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1989-1999.
D:\DJGPP\home>