If I see it right the logic in gnu/stubs.h is responsible for the selection 
of the header file:

#if !defined __x86_64__
# include <gnu/stubs-32.h>
#endif
#if defined __x86_64__ && defined __LP64__
# include <gnu/stubs-64.h>
#endif
#if defined __x86_64__ && defined __ILP32__
# include <gnu/stubs-x32.h>
#endif

Therefore I conclude from this that __LP64__ is not defined from JModelica 
but should be defined to be able to use the 64-bit header files. Does 
anyone know what __LP64__ is??

Am Dienstag, 9. Juli 2019 10:08:38 UTC+2 schrieb Beuc:
>
> You can't use your system (i386) headers for an Emscripten (asmjs/wasm) 
> application :)
>
> If JModelica can't be compiled without i386 headers (AFAIU), it probably 
> can't compiled for the asmjs/wasm target.
> You'll need to improve JModelica so it supports more targets/architectures.
> Cheers!
> Beuc
>

-- 
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/58493340-5755-4c3a-9747-8dd6176d3a13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to