Compiling wasmedge runtime for Android x86 ABI (32-bit) #3294
Unanswered
mtobin-tdab
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Some patches are needed for the i386 arch. Ref: https://github.com/termux/termux-packages/tree/master/packages/wasmedge |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, I am attempting to recreate these steps on an Android device running x86 ABI (which is 32-bit). I haven't been able to make it work.
I've added
-DCMAKE_ANDROID_ARCH_ABI=x86
arg to the cmake command inWasmEdge\utils\android\standalone\build_for_android.sh
but am getting build errors.First error:
I tried adding
#include <sys/mman.h>
toWasmEdge\lib\system\allocator.cpp
Second error:
Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions