mirror of https://github.com/WebAssembly/wasi-sdk
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
# WASI SDK
|
|
|
|
## Quick Start
|
|
|
|
[Download SDK packages here.](https://github.com/CraneStation/wasi-sdk/releases)
|
|
|
|
## About this repository
|
|
|
|
This repository contains no compiler or library code itself; it uses
|
|
git submodules to pull in the upstream Clang and LLVM tree, as well as the
|
|
wasi-libc tree.
|
|
|
|
The libc portion of this SDK is the
|
|
[wasi-libc](https://github.com/CraneStation/wasi-libc).
|
|
|
|
Upstream Clang and LLVM 8.0 can compile for WASI out of the box, and WebAssembly
|
|
support is included in them by default. So, all that's done here is to provide
|
|
builds configured to set the default target and sysroot for convenience.
|
|
|
|
One could also use a standard Clang 8.0, build a sysroot from the sources
|
|
mentioned above, and compile with
|
|
"--target=wasm32-wasi --sysroot=/path/to/sysroot".
|
|
|
|
## Notes for Autoconf
|
|
|
|
Upstream autoconf now
|
|
[recognizes WASI](http://lists.gnu.org/archive/html/config-patches/2019-04/msg00001.html).
|
|
|
|
For convenience when building packages that aren't yet updated, updated
|
|
config.sub and config.guess files are installed at share/misc/config.\*
|
|
in the install directory.
|