-
Notifications
You must be signed in to change notification settings - Fork 167
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
Instructions for compiling libclang_rt.builtins-wasm32.a
?
#36
Comments
@TerrorJack Did you ever find out how to build libclang_rt.builtins-wasm32.a from source? |
libclang_rt.builtins-wasm32.a built a build of llvm's compiler-rt. You can see how we build it as part of wasi-sdk here: Lines 98 to 124 in 1a95329
|
If you don't want to build it from source you can download a prebuilt version of this library from one of the releases. e.g. https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-12 Then can most likely just copy this library into |
Is it possible to build |
@turbolent, you mean build it manually or distribute it as a part of the release artifacts? |
I'm trying to use clang-9 to compile and use
wasi-sysroot
, but additionally thelibclang_rt.builtins-wasm32.a
file is required to link into the final wasm module. It is not obvious how to build this file without building the llvm/clang submodules first, so it would be much appreciated if you can add relevant instructions. Thanks a lot!The text was updated successfully, but these errors were encountered: