Re: [PATCH] ld: testsuite: Fix a few backslash-related issues on MinGW.
Jan Dubiec <[email protected]> Fri, 17 Jul 2026 14:33:17 +0200
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
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.