[PATCH] bfd: add version check to makeinfo
Enze Li
enze.li@hotmail.com
Thu Apr 6 15:00:38 GMT 2023
On Tue, 2023-04-04 at 11:24 -0400, Eli Zaretskii wrote:
> > Cc: gdb-patches@sourceware.org,
> > enze.li@gmx.com
> > Date: Tue, 4 Apr 2023 23:07:13 +0800
> > From: Enze Li via Gdb-patches <gdb-patches@sourceware.org>
> >
> > In this commit,
> >
> > commit 8bb23cdbb498ff645bb0937bc8c0cb89e9e5ebd8
> > Date: Tue Feb 7 11:34:56 2023 -0700
> >
> > Simplify @node use in BFD documentation
> >
> > we use a modern style available from makeinfo 5.0 or later.
> >
> > This patch adds a check for makeinfo that no documentation will be
> > generated if it is below the specified version.
> >
> > The motivation for this work comes from the fact that compiling GDB
> > on
> > the latest version of NetBSD(9.3) produces the following errors
> > because
> > it comes with makeinfo 4.8. This patch workaround this issus.
>
> Some people still use makeinfo 4.x because it's at least an order of
> magnitude faster than version 5 and later. For such simple problems,
> wouldn't it be better to add the missing sectioning commands, and let
> those users of makeinfo 4.x keep using it?
Yeah, that's an easy way out. I'll send another patch shortly.
BTW, I found the thread[1] where this was discussed a month ago and it
seems that both approaches are possible.
>
> Just asking.
[1]
https://inbox.sourceware.org/binutils/8392b8ac-2447-2721-706b-aae4c3021404@suse.com/
Thanks,
Enze
More information about the Binutils
mailing list