This is the mail archive of the
mailing list for the GCC project.
Building glibc for a mult-lib --target=m68k-linux
- From: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Peter dot Barada at motorola dot com
- Date: Thu, 22 Aug 2002 14:38:21 -0400
- Subject: Building glibc for a mult-lib --target=m68k-linux
I'm trying to build glibc-2.2.5 with --target=m68k-linux, and I want
to multib the compiler so I can have versions for m68k as well as
ColdFire, and glibc(at least for m68k-linux) doesn't deal with
multi-lib at all. I know that newlib does this. I've already
multi-lib'd the compiler for m68k-linux so it generates 68020,
68020/68881, 5200, ColdFire v4e.
So instead of building a set of libraries, one foreah multi-lib,
I only get one which is the default as specified in
m68k/config/linux.h which is for 68020 w/68881.
What's the best way to approach this? Should I create a different
gcc variant to indicate that the target is a ColdFire (coldfire-linux)?
Hack gcc/config/m68k/linux.h to go with a ColdFire default,
or is there a better way? In the long run I'd like to have one
compiler/library set that supports *all* the m68k variants.
All help is appreciated.
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)