This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [crosscompiling] howto configure libstdc++ to build only onefrom multi-lib configuration.
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: Karel Gardas <kgardas at objectsecurity dot com>
- Cc: GCC List <gcc at gcc dot gnu dot org>
- Date: Thu, 13 Jan 2005 18:18:42 +0100
- Subject: Re: [crosscompiling] howto configure libstdc++ to build only onefrom multi-lib configuration.
- References: <Pine.LNX.4.43.0501131717330.761-100000@thinkpad.gardas.net>
On Thu, 2005-01-13 at 17:23 +0100, Karel Gardas wrote:
> Hello,
>
> I'm just experimenting with libstdc++ for i386-rtems platform and since
> gcc builds libstdc++ for various sub-architectures of this platform (i486,
> pentium, athlon, k6, soft-float), I would like to ask you if it is
> possible to configure libstdc++ to not compile all these variants but just
> one.
rtems-gcc is multilib'ed to be able to ship one single binary package of
gcc for _all_ users with different targets.
If you are interested in one target-variant only, you can try building
gcc w/ --disable-multilib and passing CFLAGS_FOR_TARGET.
If you want to build a subset of the default multilibs you will have to
edit the responsible file in gcc (In case of i386-rtems:
gcc/config/i386/t-rtems-i386)
> Also I would like to know if it is possible to use different
> optimization options (-Os instead of -O2) for libstdc++/libsubc++/libgcc.a
> builds.
Not without major effort.
Ralf