[Q] about compile ghc-cross-compiler-for-android
Hello dev:
I build the ghc-cross-compiler-for-android
base on ghc-8.6.5-release
was successed.
But jump into the dir ~/dev_kit/haskell_sdk/ghc-8.6.5-20190531-aarch64-linux-android/lib/aarch64-linux-android-ghc-8.6.5/rts
, only have libHSrts.a
static library, missing libHSrts.so
.
Is miss sth in the ./config
phase of building ghc-cross-compiler-for-android
? thanks.
Should i add --enable-shared
to ./config
to fix it like :
./configure --target=$target \
--prefix=$PREFIX \
--disable-large-address-space \
--with-iconv-includes=$LIBICONV/$target/include \
--with-iconv-libraries=$LIBICONV/$target/lib \
--with-system-libffi \
--with-ffi-includes=$LIBFFI/$target/include \
--with-ffi-libraries=$LIBFFI/$target/lib
--enable-shared <------- fix by this line?