Re: [PATCH] bfd: recognize *-*-windows* Windows targets
"Maciej W. Rozycki" <[email protected]> Mon, 20 Jul 2026 00:26:37 +0100 (BST)
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 14 Jul 2026, Pedro Alves wrote:
> > Further, while in the follow-on mail you say this aiming at gdb, what
> > about in particular ld? If ld is deliberately not covered, wouldn't
> > top-level configury then want to gain a noconfigdirs adjustment, such
> > that ld (and perhaps also other components) won't even be tried to be
> > configured?
>
> ld currently gets:
>
> *** ld does not support target x86_64-pc-windows-msvc
> *** see ld/configure.tgt for supported targets
>
> I myself configure with --disable-ld, etc. as (for this target) I want
> to use gdb against clang + lld-link.
Does it break compilation then where no explicit `--disable-ld' has been
given? If so, then it's a no-no, cf. commit 58d798318c42 ("AMDGCN:
Disable subdirectory configuration for unsupported GAS and LD") for the
right way to handle it.
Maciej