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 David Brown,

	This option is fine, But my question was that when iam building
the toolset, i want it to be built for one CPU only and not for entire
M68k family.

	The option you are suggesting is when compiling an application,
whereas my question is when building the toolchain how do i do it.

Regards,

N.SRIDHAR
Electronics & Instrumentation Divn
Indira Gandhi Centre For Atomic Research (Dept. of Atomic Energy)
Kalpakkam - 603102 


On Mon, 5 May 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.
> 
> 
> 
> 
> 
> 



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