Re: [PATCH] [GDB 18] gdb/configure: fix string quoting in AC_MSG_WARN and AC_MSG_ERROR

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
> From: Andrew Burgess <[email protected]>
> Cc: Eli Zaretskii <[email protected]>,
> 	Andrew Burgess <[email protected]>
> Date: Tue, 11 Aug 2026 14:02:06 +0100
> 
> If / when approve I plan to push this to both master and gdb-18-branch.

Thanks.  I have a question about this below.

> Now when configuring with
> --enable-binary-file-formats='coff,xcoff,elf,macho' on a target that
> doesn't support Mach-O, e.g. GNU/Linux, the configure will stop like
> this:
> 
>   checking for ELF support in BFD... yes
>   checking for library containing dlopen... (cached) none required
>   checking for Mach-O support in BFD... no
>   configure: error: Mach-O support was requested, but BFD does not support it
>   make: *** [Makefile:13461: configure-gdb] Error 1

Hmm... so building with Mach-O support on GNU/Linux and MS-Windows is
not possible at all?  I'm not sure I understand the "BFD does not
support it" part of the error message: shouldn't BFD that is compiled
as part of GDB be configured to support Mach-O when GDB is configured
with --enable-binary-file-formats='coff,xcoff,elf,macho'?  Or what am
I missing?

Thanks.
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.