Installation
Jiang provides prebuilt compiler packages for macOS arm64 and Linux x86_64.
Requirements
Section titled “Requirements”- macOS on arm64 or Linux on x86_64.
- A host C compiler available as
ccfor final executable linking.
The release compiler statically links the LLVM libraries used by Jiang. You do not need a separate LLVM shared-library installation to run the packaged compiler. The Linux package requires glibc 2.34 or newer.
Quick Install
Section titled “Quick Install”The installer selects the package for your platform, verifies its checksum, and sets up the shell path:
On macOS, install the C toolchain with xcode-select --install if needed. On Ubuntu or Debian, use
sudo apt install build-essential.
Install an Archive
Section titled “Install an Archive”Download the archive for your host from the latest GitHub release, then unpack it.
Install Jiang:
By default this installs:
Add Jiang to your shell path if needed:
Verify
Section titled “Verify”Check the compiler and LLVM runtime:
The first line should be:
Next Step
Section titled “Next Step”Continue with Getting Started to compile a small program.