WASM.CDT is a toolchain for WebAssembly (WASM) and set of tools to facilitate contract writing for the WASM platform. In addition to being a general purpose WebAssembly toolchain, WASM.cdt specific optimizations are available to support building WASM smart contracts. This new toolchain is built around Clang 7, which means that WASM.CDT has the most currently available optimizations and analyses from LLVM, but as the WASM target is still considered experimental, some optimizations are not available or incomplete.
$ git clone --recursive -v rel/v1.0.0 [email protected]:WaykiChain/wicc-wasm-cdt.git
$ cd wicc-wasm-cdt
$ ./build.sh
$ sudo ./install.sh
$ cd examples/hello
$ mkdir build
$ cd build
$ cmake ..
$ make
- wasm-cpp
- wasm-cc
- wasm-lld
- wasm2wast
- wast2wasm
- wasm-ranlib
- wasm-ar