[PATCH] Fix arm cross-compilation with -mthumb

Mike Mohr akihana at gmail.com
Thu Sep 6 22:10:00 CEST 2012


Excellent, thanks for this.  I'll add it to the project I've started to
support GMP on Android:

https://github.com/Rupan/gmp

If you're actively working on this then I'd like to collaborate.

Mike

On Wed, Sep 5, 2012 at 4:21 AM, Andoni Morales <ylatuya at gmail.com> wrote:

> I am trying to cross-compile libgmp using the Android's toolchain
> provided with the r8n NDK.
> Compilation fails for arm with the compiler option -mthumb. The check
> "W_TYPE_SIZE == 32"  should be  "W_TYPE_SIZE == 32 &&
> !defined(__thumb__)".
> Attached patch and config.log
>
> GMP Version: 5.0.5 release tarball
>
>
> --
> Andoni Morales Alastruey
>
> LongoMatch:The Digital Coach
> http://www.longomatch.ylatuya.es
>
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs
>
>


More information about the gmp-bugs mailing list