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
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers