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

On 09/07/2019 07:47, Manuel Häusler wrote:
>
> Without those, emcc will not find needed header files and stop with
> errors...
> What do you suggest then? Do I have to build a 32-Bit Emscripten on a
> 32-Bit system to overcome that problem?
>
>
> Am Montag, 8. Juli 2019 18:52:57 UTC+2 schrieb Alon Zakai:
>
>     The use of local system includes can cause errors,
>
>     -I /usr/include/ -I /usr/include/i386-linux-gnu/ -I
>     /usr/include/i386-linux-gnu/bits/
>
>     Without those emcc will properly use the emcc system headers. With
>     those, it will use whatever is on the local system, which may be
>     wrong (since you aren't compiling for that system natively, but
>     cross-compiling for another target).
>

-- 
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/899cfbac-e9ee-13e2-7fd2-2e47557686c8%40beuc.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to