This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: Multilib support for 68040



>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


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