Port WAMR to the FreeBSD platform and update the document (#1825)

This commit is contained in:
TianlongLiang
2022-12-24 10:11:10 +08:00
committed by GitHub
parent 6fd8001eb6
commit 2953614cb8
8 changed files with 339 additions and 0 deletions

View File

@ -637,3 +637,18 @@ $ ls ../build_out/
libvmlib.a ) and an executable binary (*iwasm*) and copy *iwasm* to
*build_out*. All original generated files are still under
*product-mini/platforms/linux/build*.
FreeBSD
-------------------------
First, install the dependent packages:
```shell
sudo pkg install gcc cmake wget
```
Then you can run the following commands to build iwasm with default configurations:
```shell
cd product-mini/platforms/freebsd
mkdir build && cd build
cmake ..
make
```