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
Is it possible to build from .s textual assembly? #3074
Comments
emcc can accept LLVM IR in either binary or text format. It expects a familiar extension, though, so e.g. Are you porting Mono? |
What do you mean? We have large codebase on C# that needs to stay that way (because of Unity 3D). But also we need that same code on the server (Node.js). Currently, we use Edge.js, but compiling with emscripten would be much better. |
I see. I think you will need to port the Mono runtime to do this, though? You can use mono-llvm to get your compiled C# code, but I assume it will call into various runtime methods implemented in Mono. |
But isn't Mono Full AOT already builds everything that my code needs and then I can run it without depending on Mono at all? |
I don't know, just guessing based on other VMs and runtimes I know. |
Well, anyway, Mono uses default LLVM but emscripten uses modified version. Need to hook it up somehow. There is also info on bundling Mono to executable: http://www.mono-project.com/docs/advanced/runtime/ |
This issue has been automatically marked as stale because there has been no activity in the past 2 years. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant. |
Mono Full AOT support building .s through LLVM. Is to possible to use this so I can build .js from C#?
More info: http://www.mono-project.com/docs/advanced/mono-llvm/
The text was updated successfully, but these errors were encountered: