mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-30 12:51:16 +00:00
Compilation error was reported when `cmake -DWAMR_BUILD_LIBC_WASI=0`
on linux-sgx platform:
```
core/shared/platform/linux-sgx/sgx_socket.c:8:10:
fatal error: libc_errno.h: No such file or directory
8 | #include "libc_errno.h"
| ^~~~~~~~~~~~~~
```
After fixing, both `cmake -DWAMR_BUILD_LIBC_WASI=1` and
`WAMR_BUILD_LIBC_WASI=0` work good.
|
||
|---|---|---|
| .. | ||
| alios | ||
| android | ||
| common | ||
| cosmopolitan | ||
| darwin | ||
| ego | ||
| esp-idf | ||
| freebsd | ||
| include | ||
| linux | ||
| linux-sgx | ||
| nuttx | ||
| riot | ||
| rt-thread | ||
| vxworks | ||
| windows | ||
| zephyr | ||
| README.md | ||
This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.
Refer to port_wamr.md for how to port WAMR to a target platform.