I don't know the mpn library, but it seems this is an autoconf-related 
configuration error, look here:

https://clgitlab.o9n.de/Kryptographische-Protokolle/Zettel1/-/blob/master/c/lib/gmp/gmp-impl.h#L3735-3778

...the union ieee_double_extract only exists when either the 
define HAVE_DOUBLE_IEEE_LITTLE_SWAPPED, HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 
or HAVE_DOUBLE_IEEE_BIG_ENDIAN exists, these seem to be autoconf-generated 
configuration defines 
(https://clgitlab.o9n.de/Kryptographische-Protokolle/Zettel1/-/blob/master/c/lib/gmp/configure#L24758).
 
So either autoconf wasn't run, or it was confused by the emscripten 
toolchain.

On Tuesday, 8 September 2020 11:13:52 UTC+2, leopard wrote:
>
> hi all,
>
> I tried to convert mpir (a multiple precision lib) to javascript via 
> emscripten under windows 64bit and failed, it said 
> "mpn/generic/get_d.c:125:34: error: variable has incomplete type 'union 
> ieee_double_extract'".  
>
> I googled and somebody compiled gmp/mpfr sucessfully under win 32bit with 
> empscripten, but failed under 64bit too.  Anybody ever make it work under 
> win64?
>
> thanks,
> wei. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/f2af425c-5c0d-456a-a0bf-cf3843478555o%40googlegroups.com.

Reply via email to