Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

License

Notifications You must be signed in to change notification settings

HomuHomu833/android-ndk-custom

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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), Cosmopolitan, Bionic (from the official Android NDK), and llvm-mingw 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

Architectures

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

🔹 Cosmopolitan Environment (Discontinued)

Platforms

  • Windows
  • Linux
  • macOS
  • Android
  • NetBSD
  • FreeBSD
  • OpenBSD 7.3

Architectures

  • x86_64
  • aarch64

🔹 Native Environment

Platforms

Architectures

  • x86, x86_64
  • armv7a (Android-only)
  • aarch64

🧰 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!

Morty Proxy This is a proxified and sanitized view of the page, visit original site.