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: Cross Tools Help



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





------
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]