Skip to content

Could you please provide guides for building clang to wasm? #3

@guyutongxue

Description

@guyutongxue

Hello! I'm interested in your project (for detailed guide of building LLVM on WASM). I noticed that the GitHub Page is using clang-wasm branch which includes a clang.wasm, but the README only shows how to build llc / lld.

In detail, I'm trying to build clangd language server and face some issues on finding Standard C/C++ library headers in Emscripten FS. Could you tell me how to embed (and how to find) those C/C++ headers to WASM? Seems that the original README just embedding lib folder is not a correct approach for clang.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions