This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc for ARM in thumb mode
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Dmytro Bablinyuk <dmytro dot bablinyuk at tait dot co dot nz>
- Cc: gcc at gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Thu, 20 Feb 2003 10:43:08 +0000
- Subject: Re: gcc for ARM in thumb mode
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> I am trying to figure out whether it's possible at all to build a gcc
> cross-compiler for ARM720T in thumb mode? I am looking, if possible, to
> use uClibc.
> Does anyone has any experience with this?
> I have gcc 2.95.3(with uClibc) configured and running for
> target=arm-linux perfectly. Do I just need to change the target or some
> more work required?
>
> Thank you,
>
Gcc already contains support for compiling to thumb; just add -mthumb to
all your compiles and you will get thumb code generated.
Whether the rest of the arm-linux tools can cope with this is a separate
issue.
R.