Compilation error on ARMv7 with -mthumb

Torbjorn Granlund tg at gmplib.org
Fri Jul 5 15:12:40 CEST 2013


"Wirschell, Tom" <Tom.Wirschell at PinkRoccade.nl> writes:

  When I leave out the "-mthumb" option GPM compiles without any
  problems on this system using GCC 4.6.4, 4.7.3 and 4.8.1 and CFLAGS
  changed to also include -O3.
  
Overriding GMP's CFLAGS by specifying a different ISA is not supposed to
work.

We currently don't support thumb code generation, not even for the
thumb-only ARM devices.  If/when we change that, it will probably be via
the ABI parameter.

-- 
Torbjörn


More information about the gmp-bugs mailing list