espruino / Espruino

The Espruino JavaScript interpreter - Official Repo
http://www.espruino.com/
Other
2.76k stars 743 forks source link

Building EMSCRIPTEN boards on the latest EMCC #2473

Closed brendena closed 7 months ago

brendena commented 7 months ago

So this pull is updated to work with the latest EMCC. So there's just two changes.

I'm not entirely what changed to necessitate this function needing to be defined. But it seemed to fix the problem.

Error

error: undefined symbol: emscripten_memcpy_js (referenced by root reference (e.g. compiled C/C++ code))

gfwilliams commented 7 months ago

Great - thanks! Still seems to work with the old EMCC too