How to port GMP library with emscripten?

254 views
Skip to first unread message

Liam

unread,
Jul 21, 2021, 3:29:57 AM7/21/21
to emscripten-discuss
I would like to port the gmp library to emsctipten.
I use gmp in my project. The gmp built in the local environment causes an error during the emcc build process.
I tried to build gmp using emconfigure but it fails during the make process.
Has anyone had success with this?

Shlomi Fish

unread,
Jul 21, 2021, 9:55:17 AM7/21/21
to Liam, emscripte...@googlegroups.com
Hi Liam!
1. did you try the advice in
https://stackoverflow.com/questions/41080815/compiling-gmp-mpfr-with-emscripten
.

2. Which errors are you getting. See
https://github.com/shlomif/writing-the-perfect-question

3. Perhaps try https://www.npmjs.com/package/big-integer as well.

Regards,

Shlomi

--

Shlomi Fish https://www.shlomifish.org/
https://github.com/shlomif/what-you-should-know-about-automated-testing

Women who seek to be equal with men lack ambition.
https://en.wikiquote.org/wiki/Timothy_Leary

Please reply to list if it's a mailing list post - https://shlom.in/reply .
Reply all
Reply to author
Forward
0 new messages