MIT License

项目介绍

HomuHomu833/android-ndk-custom 是一个托管在 GitHub 上的开源项目,主要使用 Shell 编写,采用 MIT License 许可证,目前获得 200 个 Star、46 次 Fork。

仓库全名
HomuHomu833/android-ndk-custom
开源许可证
MIT License
Star 数
200
Fork 数
46
未关闭 Issue
3

README 摘要

Android NDK Custom Android NDK Custom is a custom-built Android NDK that replaces the default toolchain with a rebuilt LLVM and related binaries. It integrates alternative libc implementations like musl (via Zig), Bionic (from the official Android NDK), llvm-mingw and the macOS SDK (via osxcross) to provide a more flexible and portable build environment. This project is inspired by Zongou’s build system. 🚀 Features…

完整内容见 GitHub 原始 README 或本页 。

常见问题

android-ndk-custom 用什么语言开发?

主要使用 Shell 编写,采用 MIT License 许可证,目前有 200 个 Star。

android-ndk-custom 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 android-ndk-custom 的源码?

可以直接克隆仓库:git clone https://github.com/HomuHomu833/android-ndk-custom.git,默认分支为 main;安装与运行步骤见仓库 README。

android-ndk-custom 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 3 个未关闭 Issue;Star 数为 200,可作为社区活跃度的参考。

关于

Android NDK with custom LLVM built using various libc's, supporting multiple architectures and platforms.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

Assembly
C
Dockerfile
Shell

Release

  • r303月22日
  • r292025年9月8日
  • r282025年7月19日
  • r272025年7月19日
  • r262025年7月19日

README

Android NDK Custom

Android NDK Custom is a custom-built Android NDK that replaces the default toolchain with a rebuilt LLVM and related binaries.

It integrates alternative libc implementations like musl (via Zig), Bionic (from the official Android NDK), llvm-mingw and the macOS SDK (via osxcross) to provide a more flexible and portable build environment.

This project is inspired by Zongou’s build system.


🚀 Features

  • Custom LLVM build sourced from official Google repositories.
  • Built using various toolchain’s libc.
  • Additional Tools Built:
    • Shaderc
    • Python
    • Make
    • Yasm

🧭 Architecture & Platform Support

🔹 Zig-based Environment

Platforms

  • Linux
  • Android
  • NetBSD
  • FreeBSD
  • OpenBSD

Architectures

  • X86 Family: x86, x86_64, x32
  • ARM Family: arm, armeb, aarch64, aarch64_be
  • RISC-V: riscv32, riscv64
  • PowerPC: powerpc, powerpc64, powerpc64le
  • MIPS: mips, mipsel, mips64, mips64el
  • Thumb: thumb, thumbeb
  • Other: loongarch64, s390x, sparc64 ,hexagon

🔹 Native Environment

Platforms

  • Windows
  • macOS
  • Android

Architectures

  • x86, x86_64
  • aarch64
  • armv7 (Android and Windows only)
  • arm64ec (Windows-only)
  • arm64e, x86_64h (macOS-only)

🧰 Usage

This custom NDK works as a drop-in replacement for the standard Android NDK.
Simply extract the archive and use it in your build setup just as you would with the official version.


⚖️ License

This project is licensed under the MIT License.
See the LICENSE file for more details.


💬 Contributing

Feel free to open pull requests or issues if you have any contributions or feedback!

评论

暂无评论