[maemo-developers] Thumb and VFP support in Maemo-Builder
From: Eero Tamminen eero.tamminen at nokia.comDate: Fri Aug 8 16:28:45 EEST 2008
- Previous message: Thumb and VFP support in Maemo-Builder
- Next message: IP packets Traffic Control with tc - kind request
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, ext Glen Ditchfield wrote: > I have a question about how to support "thumb". The GCC 3.4.6 manual, > http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/ARM-Options.html#ARM-Options, > says the compiler supports two thumb flags: > > -mthumb-interwork > Generate code which supports calling between the ARM and Thumb instruction > sets. Without this option the two instruction sets cannot be reliably used > inside one program. The default is -mno-thumb-interwork, since slightly > larger code is generated when -mthumb-interwork is specified. > > -mthumb > Generate code for the 16-bit Thumb instruction set. The default is to use > the 32-bit ARM instruction set. > > The example in the policy document v0.23 only uses -mthumb. Should we > use -mthumb-interwork? Or should we use both? AFAIK: -mthumb-interwork is an option for gcc (toolchain) itself. For apps/libs -mthumb is enough. - Eero
- Previous message: Thumb and VFP support in Maemo-Builder
- Next message: IP packets Traffic Control with tc - kind request
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]