-
Notifications
You must be signed in to change notification settings - Fork 46
Description
- Version:
- Platform:
- Subsystem:
I try to build the ShadowNode sources with the guide:
https://github.com/yodaos-project/ShadowNode/blob/master/docs/build/Build-for-Android.md
I used exactly the same build config as the description in doc. But what I built out is arm-32 version, not 64.
The result of "file" command:
build/aarch64-linux-android/debug/bin/iotjs: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), BuildID[sha1]=799e3a8d0ab40f80600bfc07ba0760e10b251219, not stripped
My build steps:
export NDK_DIR=/home/tool/android-ndk-r21
./tools/build.py
--target-arch=aarch64
--target-os=linux-android
--cmake-param=-DANDROID_NDK=$NDK_DIR
--cmake-param=-DANDROID_NATIVE_API_LEVEL=23
--cmake-param=-DANDROID_ABI=armeabi-v7a
--cmake-param=-DANDROID_TOOLCHAIN=clang
--cmake-toolchain-file=$NDK_DIR/build/cmake/android.toolchain.cmake
--profile=./profiles/basic.profile