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

C++ Standard Library Support? #7

Open
KTRosenberg opened this issue Jan 4, 2020 · 1 comment
Open

C++ Standard Library Support? #7

KTRosenberg opened this issue Jan 4, 2020 · 1 comment

Comments

@KTRosenberg
Copy link

In your explorations of WASM, have you come across a way to use the C++ standard library without emscripten? I've modified your makefile to work on macos, but I haven't been able to get libc++ and libc++abi working. I basically copied the files from emscripten and tried changing them, but there were an overwhelming number of missing functions and errors. I am curious about what emscripten does under the hood.

@PetterS
Copy link
Owner

PetterS commented Oct 17, 2020

It is possible to download a C++ standard library and make it work in this repo. It will be a little messy, as there are many undefined referernces one has to stub.

I have done this, but the resulting WASM file was so large that I thought it was better to stick to C.

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