ABI defaults

Vincent Lefevre vincent+gmp at vinc17.org
Thu Nov 18 16:05:34 CET 2010


On 2010-11-17 18:52:03 +0100, Niels Möller wrote:
> I'd be tempted to rip out the logic to select the best ABI completely; I
> suspect it is more confusing then helpful to users if gmp is clever when
> selecting the ABI. I'd prefer to just display a warning message for poor
> ABIs, something like
> 
>   You're building GMP for the 32-bit ABI, which gives poor performance
>   on this platform. You will get much better performance if you build
>   GMP (as well as applications using it) for the 64-bit ABI. To do
>   this, pass the ... flag to GMP's configure, and the ... flags to the
>   compiler when building applications.

I agree.

FYI, we also received complaints from MPFR users, even though MPFR
has no other choice than following what has been done by GMP.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


More information about the gmp-devel mailing list