On 1/5/2026 2:14 PM, Joseph Myers wrote:
On Fri, 19 Dec 2025, Aleksandar Rakic wrote:
From: Aleksandar Rakic <[email protected]>
This patch introduces a new configure-time option --with-multi-buildlist
to allow fine-grained control over which multilib variants are built.
The option accepts a path to a file containing a list of multilib
directories to be included in the build. Each line in the file should
contain a single multilib directory name, matching those generated by
the compiler's --print-multi-lib output.
This mechanism is target-independent and enables users to reduce build
time and binary size by excluding unnecessary multilib variants. It is
especially useful for embedded targets with constrained environments or
vendor-specific requirements.
The option is propagated to both host and target configuration stages,
and used in config-ml.in and gcc/Makefile.in to filter the multilib
list.
Documentation for this feature is added to gcc/doc/install.texi.
This version of the patch is OK.
I've pushed it to the trunk after fixing a couple ChangeLog nits to make
the hooks happy.
jeff