[PATCH] ld: testsuite: Fix a few backslash-related issues on MinGW.
Jan Beulich
jbeulich@suse.com
Fri Jul 17 12:51:21 GMT 2026
On 17.07.2026 14:33, Jan Dubiec wrote:
> 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.
But you're making testsuite adjustments. There's no cmd.exe shell involved
there, I don't think. Clearly with the many slashes in the paths that you
quoted, one more slash won't break things?
Jan
More information about the Binutils
mailing list