mirror of
https://github.com/google/liblc3.git
synced 2026-04-17 21:25:30 +00:00
README: Add wasm compilation
This commit is contained in:
committed by
Antoine SOULIER
parent
16e082c929
commit
e54cdeb9f0
14
README.md
14
README.md
@@ -61,6 +61,20 @@ $ make -j CC=path_to_android_ndk_prebuilt/toolchain-prefix-clang LIBC=bionic
|
||||
|
||||
Compiled library will be found in `bin` directory.
|
||||
|
||||
#### Web Assembly (WASM)
|
||||
|
||||
Web assembly compilation is supported using LLVM WebAssembly backend.
|
||||
Installation of LLVM compiler and linker is needed:
|
||||
|
||||
```sh
|
||||
# apt install clang lld
|
||||
```
|
||||
|
||||
The webasm object is compiled using:
|
||||
```sh
|
||||
$ make CC="clang --target=wasm32"
|
||||
```
|
||||
|
||||
## Tools
|
||||
|
||||
Tools can be all compiled, while invoking `make` as follows :
|
||||
|
||||
Reference in New Issue
Block a user