Cross compiling for ARM board
simon.jul2018 at a-oben.org
Thu Jul 5 15:28:30 UTC 2018
Well, apparently I missed something vital but yes, I did. :)
On 2018-07-05 17:27, Torbjörn Granlund wrote:
> Simon Friedberger <simon.jul2018 at a-oben.org> writes:
> 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
> How do I fix this?
> Did you read the GMP manual's section on cross compilation?
More information about the gmp-discuss