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
On Thu, Aug 22, 2002 at 04:16:56PM -0400, Peter Barada wrote:
>
> >> 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.
> >
> >It can't.
>
> Ok, so it can't. Bummer.
>
> What's the best way to add --target=coldfire-linux or
> --target=m68k-linux-coldfire to gcc-3.2 which would be the same as
> m68k-linux, but use gcc/config/m68k/cf-linux.h instead of
> gcc/config/m68k/linux.h? I'm asking since I have to munge
> gcc/config/m68k/linux.h to build for ColdFire....
Does GCC accept an -mcpu= (or related) option to have this effect? If
so, then you want the --with-cpu patch I posted on gcc-patches
(repeatedly, most recently last Friday).
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer