This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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                         
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]