This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] don't build multilib libraries during bootstrap, and disable some libstdc++ features
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 10 Dec 2012 04:18:57 -0800
- Subject: Re: [patch] don't build multilib libraries during bootstrap, and disable some libstdc++ features
- References: <50C5D288.8010000@ubuntu.com>
On Mon, Dec 10, 2012 at 4:16 AM, Matthias Klose <doko@ubuntu.com> wrote:
> During bootstrap some things are built which are not required for the bootstrap:
>
> - multilib libraries
> - libstdc++ debug library, when configured with --enable-libstdcxx-debug
> - libstdc++ precompiled header files
>
> The attached patch disables building these during the bootstrap stages. The
> additional dependencies on all-target-libgcc are necessary for multilib'd
> builds, or else the configury bails out finding the wrong libgcc. I can't see a
> way to add these dependencies for the multilib enabled build only.
>
> Ok for the trunk?
Does this work when someone supplies BOOT_CFLAGS a multlib option like
say -m32 ?
Thanks,
Andrew Pinski