Enable sample/simple for aarch64 (#616)

Fixed a typo in aot_reloc_aarch64.c.
Remove -m32 option in host tool CMakeLists.txt and change data type of structure fields to make host tool work in 64-bit.

Signed-off-by: Bao Haojun <baohaojun@lixiang.com>
This commit is contained in:
Bao Haojun
2021-04-25 19:12:49 +08:00
committed by GitHub
parent 684d766e2b
commit a332a49a0d
7 changed files with 94 additions and 8 deletions

View File

@ -0,0 +1,10 @@
set (WAMR_BUILD_PLATFORM "linux")
set (WAMR_BUILD_TARGET AARCH64)
set (WAMR_BUILD_INTERP 1)
set (WAMR_BUILD_AOT 0)
set (WAMR_BUILD_JIT 0)
set (WAMR_BUILD_SIMD 0)
set (WAMR_BUILD_LIBC_BUILTIN 1)
set (WAMR_BUILD_LIBC_WASI 0)
set (WAMR_BUILD_APP_FRAMEWORK 1)
set (WAMR_BUILD_APP_LIST WAMR_APP_BUILD_BASE WAMR_APP_BUILD_CONNECTION WAMR_APP_BUILD_SENSOR)