Final Compilation objective file for Android
I'd like to compile Android Library, based on the BUILD.md, I only get static library(libhv.a) and dynamic library(libhv.dylib) after run the command below successfully, I did not get libhv.so file, then how can I get libhv.so file after compilation? Thanks
## Configured global variable in the .zshrc
export NDK_ROOT=~/Downloads/android-ndk-r21d
## run command in the teminal
sudo $NDK_ROOT/build/tools/make-standalone-toolchain.sh --arch=arm --platform=android-21 --install-dir=/opt/ndk/arm
sudo $NDK_ROOT/build/tools/make-standalone-toolchain.sh --arch=arm64 --platform=android-21 --install-dir=/opt/ndk/arm64
## Configured global variable in the .zshrc
export PATH=/opt/ndk/arm/bin:/opt/ndk/arm64/bin:$PATH
export CROSS_COMPILE=arm-linux-androideabi-
## run command in the teminal
./configure
make clean
make libhv
## the result after compilation

Is there arm-linux-androideabi-gcc in your build log?
@ithewei Thanks for your reply. I looked through the log and found arm-linux-androideabi-gcc existed while using ./configure command, but it did not exist while using make libhv command, it should be different from yours. Maybe I missed something, could you help point it out? thanks
## ./configure command

## make libhv command

CROSS_COMPILE=arm-linux-androideabi- make libhv No sudo
Thanks, maybe it is related to permission, I will try it again.