Building glibc for a mult-lib --target=m68k-linux

Peter Barada pbarada@mail.wm.sps.mot.com
Thu Aug 22 13:41:00 GMT 2002


>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).

It has sperate -m switches to define which cpu(or set of cpus) you
want to compile code for, at last look there were the following:

-m68020, -mc68020, -m68000 -mc68000, -mfpa, -msky, -m68881,
--m68020-40, -m68020-60, -m68030, -m68040, -m68060, -m5200, -m68851,
-m68332 -mcpu32

I'm adding
-mcfv4:      Build for ColdFire v4 (5407 chipes, etc)
-mcfv4e:     Build for ColdFire v4e (ColdFire v4 + MMU and FPU)

There is no -mcpu= switch for m68k.

How will your patch get integrated into the FSF tree so it shows up in
gcc-3.2.1 and gcc-3.3?  That way when those come out, I(and others)
don't have to remember the myriad of patches to apply to get a working
toolchain.... 

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)



More information about the Gcc mailing list