The problem also arises for NDK r7c for linux.
I found that the tool chain ignores the location of the platform ($ NDK_ROOT / platform / android-8 / arch-arm / usr / lib /) and looks for it in the tool chain path, which is incorrect.
However, since toolchain is also looking for a file in the current directory, one solution is to symlink the correct platform crtbegin_so.o and crtend_so.o to the source directory:
cd src && ln -s NDK_ROOT/platforms/android-8/arch-arm/usr/lib/crtbegin_so.a
cd src && ln -s NDK_ROOT/platforms/android-8/arch-arm/usr/lib/crtend_so.a
So your second paragraph should work (where you can make a symbolic link instead of a copy)
NOTE 1: It is assumed that the code is compiled for API8 (Android 2.2) using the NDK. Please change the path to the correct path as per your requirement.
NOTE 2: Configuring the flags used:
./configure \ --host=arm-linux-androideabi \ CC=arm-linux-androideabi-gcc \ CPPFLAGS="-I$NDK_ROOT/platforms/android-8/arch-arm/usr/include/" \ CFLAGS="-nostdlib" \ LDFLAGS="-Wl,-rpath-link=$NDK_ROOT/platforms/android-8/arch-arm/usr/lib/ -L$NDK_ROOT/platforms/android-8/arch-arm/usr/lib/" \ LIBS="-lc"
source share