This project has been on hold since 2016
All the data on this site is still available (and will stay available) but not up-to-date anymore
You might like to check Dmitry Moskalchuk's portfolio for his other projects
请注意!!!您现在看到的是已过期的旧版本CrystaX NDK.
新版本CrystaX NDK 10.3.2已发布, 提供了很多新功能和改进; 请尽量使用最新版本.

说明

Here is customized distribution of Android NDK r6 which I have rebuilt from official sources. Starting from NDK r5, Google added support of C++ exceptions, RTTI and STL to the official NDK. That's good but not enough for many peoples including me. Starting from r5-crystax-1, main goal of this project will be improvements of official NDK (after all, this is the best way to integrate such improvements into mainline - that's how it was with full C++ support in Google's NDK).

One of such big improvements is C++ standard conformant support of wide chars (wide strings, streams etc). Finally, after months of development, it's fully completed. You shouldn't care about wide chars/strings/streams anymore when porting existing code to Android - just compile it using my NDK and go further. Download and enjoy!

授权

CrystaX NDK包含若干开源许可证. 详见每个模块的版权声明文件.

请注意CrystaX NDK发布包中也包括编译器,链接器,文档等的预编译二进制文件. 工具链的源码在GitHub (你可以使用编译脚本自动下载它).

预编译的GCC和其他二进制文件(GDB, binutils 等等)基于the GNU General Public License (GPL) 或 the GNU Lesser General Public License (LGPL). 详见COPYING和COPYING.LIB,位于 $NDK/toolchains/$tc/prebuilt/$system.

预编译的LLVM/Clang工具链基于 LLVM "BSD" license.

基本上, 授权规则等同于Google's Android NDK - 例如, 允许商业&非商业用途. 唯一区别是CrystaX部分, 基于 BSD 2-clause license.

下载

文件 大小 SHA256校验值
android-ndk-r6-crystax-2-windows.zip 66.334 MB 7ee778f17251c34...595298693ee927
android-ndk-r6-crystax-2-darwin-x86.tar.bz2 53.282 MB 2facd0087a7c4e9...c9e1ed1df7ed22
android-ndk-r6-crystax-2-linux-x86.tar.bz2 47.986 MB e09d40b1c0b8529...d33966727a9975

操作指南

You can also build your own distribution if you don't want to use my prebuilt versions. To do that, follow instructions below.

Setting up build environment:

Follow instructions from AOSP site except Java part.
WARNING!!! Starting from r5, NDK can be built only on Linux/Mac machines. Windows build is not more supported! However, Windows binaries can be built on Linux using so called "cross-canadian build". To do that, you need install mingw32 package; build script will detect it and build Windows binaries automatically.

Instructions

  • Download build script and run it:
    wget -O - http://www.crystax.net/download/ndk-crystax-r6-build.sh | /bin/sh
    It might take long time, up to several hours. When script will be finished, it'll print directory containing package with NDK release.
  • Use this package as replacement of Google's NDK!

Back
Home
Map
Back
Home
Map

Our contributors: