Cross compiling for ARM board

Simon Friedberger simon.jul2018 at a-oben.org
Thu Jul 5 15:18:43 UTC 2018


Hi List!


I am trying to cross compile GMP for an ARM board.

./configure --host=armv7l-linux-gnueabihf

gives me this error:

"configure: error: Oops, mp_limb_t is 64 bits, but the assembler code in
this configuration expects 32 bits."

Setting ABI=32 doesn't help either.


I have also tried --host=arm-linux-gnueabihf in which case configure
succeeds but building fails with "target CPU does not support THUMB
instructions".


How do I fix this?



Best,

Simon



More information about the gmp-discuss mailing list