wasm-micro-runtime/core/shared/platform
Wenyong Huang cb51dbb513
Fix some issues on MacOS platform (#937)
Fix some issues on MacOS platform
- Enable libc-wasi by default
- Set target abi to "gnu" if it is not set for wamrc to avoid generating
  object file of unsupported Mach-O format
- Set `<vendor>-<sys>` info according to target abi for wamrc to support
  generating AOT file for other OSs but not current host
- Set cpu name if arch/abi/cpu are not set to avoid checking SIMD
  capability failed
- Set size level to 1 for MacOS/Windows platform to avoid relocation type
  unsupported warning
- Clear posix_memmap.c compiling warning
- Fix spec case test script issues, enable test spec cases on MacOS

Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
2022-01-07 09:53:48 +08:00
..
alios Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
android Upgrade uvwasi to 1.42.0 and fix Android link issues (#938) 2022-01-06 18:25:37 +08:00
common Fix some issues on MacOS platform (#937) 2022-01-07 09:53:48 +08:00
darwin Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
esp-idf ESP IDF fixes (#927) 2022-01-05 12:50:17 +08:00
include Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
linux Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
linux-sgx Fix sgx platform issues (#916) 2021-12-28 08:41:43 +08:00
nuttx Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
riot Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
rt-thread Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
vxworks Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
windows Fix compile warning on non-x86 targets, fix alios build error (#923) 2021-12-30 10:07:50 +08:00
zephyr Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
README.md re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00

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.