Sounds like a problem with inline assembly maybe, which means it is trying
to compile non-portable code. Perhaps the codebase has a flag to not use
platform-specific assembly.

On Tue, Aug 8, 2017 at 9:53 AM, Eduardo Sorribas <edua...@sorribas.org>
wrote:

> Hey folks!
>
> I'm trying to compile some parts of GNU MP to webassembly using
> emscripten, and I'm getting this error.
>
> "error: invalid input constraint 're' in asm"
>
> Anybody knows what it is or what I should try to look at? I could not find
> anything online.
>
> I'm passing these flags to emcc
>
> -I /usr/local/include/ -I ../gmp-6.1.2 -I ../gmp-6.1.2/printf/ -s WASM=1
>
> Thanks in advance!
>
> Eduardo.
>
> --
> 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 emscripten-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to