Multilib support for 68040

Peter Barada pbarada@mail.wm.sps.mot.com
Tue Jan 22 15:22:00 GMT 2002


>While we do not have a standard multilib for 68040, it is trivial to add.
>
>Modify gcc/config/m68k/t-m68kelf (or t-m68kbare) like so:
>
>-MULTILIB_OPTIONS = m68000/m68020/m5200/mcpu32 m68881/msoft-float
>+MULTILIB_OPTIONS = m68000/m68020/m5200/mcpu32/m68040 m68881/msoft-float

I think you'll also need to modify MULTILIB_MATCHES to remove the
mapping of m68040 to m68020:

-MULTILIB_MATCHES = m68000=mc68000 m68000=m68302 mcpu32=m68332 m68020=mc68020 m68020=m68040
+MULTILIB_MATCHES = m68000=mc68000 m68000=m68302 mcpu32=m68332 m68020=mc68020

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

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list