> -----Original Message----- > From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@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