This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: building arm-elf or arm-elf-mthumb development tools?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Yongming Wei <weiyongming2001 at yahoo dot com dot cn>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 14 May 2002 22:05:21 +0100
- Subject: Re: [ECOS] building arm-elf or arm-elf-mthumb development tools?
- Organization: Red Hat UK Ltd.
- References: <004901c1f079$c6f923d0$46876cca@IBMIZGA0PGLJMX>
Yongming Wei wrote:
>
> Hi all,
>
> I want to build cross compiler in linux for 7312 or 7212, I found in the
> 7312 document that this processor has thumb code support enabled, does that
> mean I should build the toolset for arm in Thumb mode instead of for arm?
You still build GCC for "arm-elf". It's just that when you want thumb, you
should add -mthumb to the compiler command line.
> And what is difference between the development tools for arm and arm in
> Thumb mode? Does the most lastest gcc support arm in Thumb mode?
Yes.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss