[PATCH] ld: testsuite: Fix a few backslash-related issues on MinGW.

Jan Beulich jbeulich@suse.com
Fri Jul 17 10:59:06 GMT 2026


On 17.07.2026 12:14, Jan Dubiec wrote:
> Several relatively new test cases fail on MinGW:
> [...]
> Running /d/Works/binutils/ld/testsuite/ld-archive/archive.exp ...
> FAIL: Script fake archive link
> FAIL: Script fake whole archive link
> FAIL: Script fake group archive link accept
> [...]
> 
> This is because on Windows ld uses "\" instead of "/" to create full file
> names as shown in the log below:

Yet: Does it need to? If slashes work, can't ld simply use slashes?

Jan


More information about the Binutils mailing list