Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please replace STACK_SIZE with TOTAL_STACK in makefile to compile with latest emcc compilers #49

Closed
RavikumarTulugu opened this issue Feb 21, 2024 · 1 comment

Comments

@RavikumarTulugu
Copy link

latest emcc has removed the setting STACK_SIZE and renamed it to TOTAL_STACK ( my understanding ). to build wasm stuff successfully , the variable needs to be changed. I have tested and verified this with emcc-3.1.6 on ubuntu-23.10.
Thanks

@Yahweasel
Copy link
Owner

You've got it backwards, I'm afraid. The latest emccs have removed TOTAL_STACK and renamed it to STACK_SIZE: https://github.com/emscripten-core/emscripten/blob/main/src/settings.js#L2140 . I do my builds with 3.1.40. You should use emsdk; the version in distros usually lags far behind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants