Skip to content

Doubts regarding certain flags used in the readme #5

@anutosh491

Description

@anutosh491

Hi @soedirgo

I am trying to compile clang & lld to wasm using emscripten. Although I was able to build stuff (not sure everything works though for eg at runtime), I have doubts about certain flags

  1. Not sure about the use of llvm-tblgen and would appreciate clarification on this comment
# For the actual build, we need to have llvm-tblgen built for the host
cmake -G Ninja -S llvm -B build-host -DCMAKE_BUILD_TYPE=Release
cmake --build build-host --target llvm-tblgen

Which means I am not even using this flag -DLLVM_TABLEGEN=$PWD/build-host/bin/llvm-tblgen

  1. What's the use case behind this CXXFLAGS="-Dwait4=__syscall_wait4"

Would be great if you could clarify these things for me

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