This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building glibc for a mult-lib --target=m68k-linux
> Date: Thu, 22 Aug 2002 15:49:53 -0400
> From: Peter Barada <pbarada@mail.wm.sps.mot.com>
> >Just build glibc with CFLAGS=-m68020 or whatever?
>
> I guess I could do that for a single configuration, but I'm still
> trying to figure out if glibc can deal with multi-lib like newlib
> does. If so then I could with one build create *all* of the glibc
> variants, one for each mutil-lib that the compiler supports.
>
> Currently I have to munge gcc/config/m68k/linux.h for each type of
> linux machine I want to build glibc for.
>
> And you thought it already took a while to build glibc :-) Imagine what
> its like building 5 times as many libraries (m86020, m68020/m68881,
> m68040, m68060, mcfv4e).
I think the answer you're looking for is "glibc doesn't support
multilibs".
However, this doesn't mean you can't configure and build glibc for
multiple configurations. It does, though, mean that you can't install
all these glibcs in the same tree.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>