[PATCH] bfd: add version check to makeinfo
Eli Zaretskii
eliz@gnu.org
Tue Apr 4 15:24:40 GMT 2023
> 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?
Just asking.
More information about the Binutils
mailing list