Cross Tools Help
Joel Sherrill
joel.sherrill@OARcorp.com
Mon May 5 13:41:00 GMT 2003
David Brown wrote:
>
> > Dear Mr.Gatliff,
> >
> > When i build a m68k-elf cross tool chain, during configure step i
> > specify target=m68k-elf and the toolset is built for all families of m68k
> > like CPU's 68K, 68020, 68030, 68040, etc.
> >
> > If i want to build the toolset for a particular CPU only (say
> > 68020), how do i do it?
> >
>
> It's the same toolset, since the CPUs are very similar. To specify the
> exact CPU type, use a compiler flag such as "-m68020". If you don't use
> such a flag, the code generated will be restricted to instructions that are
> available on all the chips - thus it will avoid instructions such as the bit
> manipulation instructions that were introduced in the 68020.
I don't believe this statement is correct. The default for
the m68k-elf toolset is 68020 with FPU.
It is better to specify the most correct CPU CFLAGSs and not depend upon
what the default is.
> ------
> Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
--joel sherrill
------
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