bytecodealliance / wasm-micro-runtime

WebAssembly Micro Runtime (WAMR)
Apache License 2.0
4.84k stars 618 forks source link

Arm 32 bit supported ? #2419

Open siashish opened 1 year ago

siashish commented 1 year ago

It mentions in supported architecture: AArch64 (Cortex-A57 and Cortex-A53 are tested)

But I am running raspberry Pi with Cortex-A53 with 32-bit raspbian OS. Is Wamr supported on this ?

TianlongLiang commented 1 year ago

Correction:

You can try to add a CMake flag to see if it works:

cmake -DWAMR_BUILD_TARGET=ARMXXX

You can refer to this document

For ARM and THUMB, the format is <arch>[<sub-arch>][_VFP], where <sub-arch> is the ARM sub-architecture and the "_VFP" suffix means using VFP coprocessor registers s0-s15 (d0-d7) for passing arguments or returning results in standard procedure-call. Both <sub-arch> and "_VFP" are optional, e.g. ARMV7, ARMV7_VFP, THUMBV7, THUMBV7_VFP and so on