android NDK c++ library support
--------------------------------------------
链接:https://developer.android.com/ndk/guides/cpp-support.html
1. libc++.so:
libc++ on Mac OS X or FreeBSD
2. libstdc++.so:
The minimal system C++ runtime library and the default runtime when using ndk-build or the experimental Gradle plugin.
The shared object library for this runtime, libstdc++.so, is an Android-specific implementation of a minimal C++ runtime. It is not the same as the GNU libstdc++ runtime library.
注:不包含标准模板库以及string类型
3. libgnustl_shared.so
The GNU STL (shared library).
4. libc++_shared.so
The LLVM libc++ runtime (shared library)
GNU STL runtime
This runtime is the GNU Standard C++ Library, (libstdc++-v3). Its shared library file is named libgnustl_shared.so. compiles with -std=gnu++11.
libc++ runtime:
This runtime is an Android port of LLVM libc++. Its shared library file is named libc++_shared.so.
By default, this runtime compiles with -std=c++11. As with GNU libstdc++, you need to explicitly turn on exceptions or RTTI support. For information on how to do this, see C++ Exceptions and RTTI.