Following the instructions here I created the Fortran NDK toolchain binding (OSX, NDK-7b) with the goal of creating a LAPACK / BLAS.
Using android-cmake with source 3.4.0 net lib seems to me almost successful. However, the BLAS assembly fails when one of the tests is bound (with an error indicating unresolved sincosand sincosf). A small search shows that these features are not available in older versions of Android. I am wondering what is the best way to solve these features?
The following is an example of a connection error:
cd / Users / marc / software / lapack-3.4.0 / Android / BLAS / TESTING && & & / opt / local / bin / cmake -E cmake_link_script CMakeFiles / xblat2c.dir / link.txt --verbose = 1 / opt / local / share / java / android -ndk-macosx / toolchains / arm-linux-androideabi-4.7.0 / prebuilt / darwin-x86 / bin / arm-linux-androideabi-gfortran -Wl, -gc-sections -Wl, - z, nocopyreloc -Wl, - fix-cortex-a8 -Wl, - no- undefined -lstd ++ -lsup ++ CMakeFiles / xblat2c.dir / cblat2.fo -o ../../ bin / xblat2c -rdynamic - L / Users / marc / software / lapack-3.4.0 / Android / systemlibs / armeabi-v7a -L / opt / local / share / java / android-ndk-macosx / toolchains / arm-linux-androideabi- 4.7.0 / prebuilt / darwin-x86 / user / libs / armeabi-v7a ../../ lib / libblas.a -lm -Wl, -rpath, / Users / marc / software / lapack-3.4.0 / Android / systemlibs / armeabi -v7a: /opt/local/share/java/android-ndk-macosx/toolchains/arm-linux-androideabi-4.7.0 / prebuilt / darwin-x86 / user / libs / armeabi-v7a / Wholesale / local / shares / Java / Android-NDK-MacOSX / compiled tools / lever Linux-androideabi -
4.7.0//Darwin-x86/Library/GCC/-Linux-androideabi/4.7.0/../../../../-Linux-androideabi/Library/libgfortran.a(c99_functions.o): cexpf':
/opt/local/share/java/android-ndk-macosx/src/build/../gcc/gcc-4.7.0/libgfortran/intrinsics/c99_functions.c:910: undefined reference to sincosf '