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.
Install a Release
Section titled “Install a Release”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:
Build From Source
Section titled “Build From Source”Source builds are contributor work. Their toolchain and bootstrap requirements change with the compiler, so follow the repository’s compiler development guide.
For an ordinary language installation, no source build is required.
Next Step
Section titled “Next Step”Continue with Getting Started to compile a small program.