This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Multilib for ARM in thumb2 mode
- From: "Ramana Radhakrishnan" <ramana dot radhakrishnan at arm dot com>
- To: "'Samuel Tardieu'" <sam at rfc1149 dot net>, <gcc at gcc dot gnu dot org>
- Date: Fri, 8 May 2009 15:08:55 +0100
- Subject: RE: Multilib for ARM in thumb2 mode
- References: <2009-05-06-12-06-06+trackit+sam@rfc1149.net>
> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of
> Samuel Tardieu
> Sent: 06 May 2009 11:06
> To: gcc@gcc.gnu.org
> Subject: Multilib for ARM in thumb2 mode
>
> Right now, to be able to compile a mutilib-enabled ARM-targeted
> compiler
> supporting thumb2, one has to uncomment some code in
> gcc/config/arm/t-arm-elf. Given that thumb2 processors are more and
> more
> used (such as microcontrollers based on the Cortex-M3), wouldn't it
> make
> sense to unconditionnaly compile the thumb2 version of the library in
> 4.5.0 and 4.4.1?
Don't you already get this if you created a toolchain with
--with-arch=armv7-m and the multilib for thumb ? A toolchain configured for
--with-arch=armv7-m and the multilib for thumb would automatically cover
this configuration. By default we compile for armv4t and why should one have
an additional multi-lib for thumb2 in such a case ?
Cheers
Ramana