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

"Maciej W. Rozycki" <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On Fri, 17 Jul 2026, Jan Beulich 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?

 Seconded: what's the root cause, i.e. where does the backslash exactly 
come from?

  Maciej
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.