[PATCH] ld: testsuite: Fix a few backslash-related issues on MinGW.
Jan Dubiec
jdx@o2.pl
Fri Jul 17 12:33:17 GMT 2026
On 17.07.2026 12:59, Jan Beulich wrote:
[...]> Yet: Does it need to? If slashes work, can't ld simply use slashes?
Don't ask me — I wasn't involved in porting the GNU tools to
Windows/MinGW. :-)
In any case, the tools built with MinGW are native Windows executables.
They use the WinAPI directly, without a compatibility layer such as
Cygwin. As a result, they can be invoked either from a Unix-like shell
or from the rather crappy native Windows shell, cmd.exe, which doesn't
always handle forward slashes gracefully. So I would say that it is
quite common that these tools mix backward and forward slashes.
/J.D.
More information about the Binutils
mailing list