Repository navigation
ncc V168 R4 · Portable compiler for Windows and Linux
Pre-releaseLinux standalone.1 for x86-64
Download the Linux standalone compiler (1,011,668 bytes). The package contains one executable and the license notices. Run ncc r hello.n on Alpine or Ubuntu, or build a portable executable with ncc b hello.n -o hello. The compiler and its default outputs have no dynamic loader or shared-library dependency. Linux procfs supplies the program arguments.
Terminal installation · Standalone SHA-256 checksums · Matching compiler and runtime sources · Results of 60 checks
Original Windows and GNU editions
This release provides a portable compiler for Windows x86-64 and Linux x86-64. Each platform archive contains two runtime files and the three project license notices. Installation
| Download | Contents |
|---|---|
| Windows ZIP · 8.47 MB | ncc.exe and ncruntime.dll |
| Linux tar.gz · 9.34 MB | ncc and libncruntime.so.2 |
| Optional compiler sources | The 141 native compilation units selected per host, with a relative path and SHA-256 for each unit in SOURCES.json. Five units use host-specific source files. |
Verify the archive against the SHA-256 checksums. The source snapshot describes the nC compiler units. A full rebuild also uses bootstrap tools and matching runtime providers.
Install from a terminal
Use the PowerShell, Command Prompt or Bash command to install for the current user. Each command checks the host and verifies the package SHA-256. The compiler installs in Local AppData on Windows and the XDG data directory on Linux. Website download and installation options · Windows per-user MSI
The optional nC BIOS mini kernel targets x86_64-unknown-none. Its 22 August 2026 image reached kmain in QEMU. Install its image, ELF and matching nC source separately. Windows kernel MSI · Kernel archive · Kernel guide · Supplemental package checksums
The terminal installation tests installed and reinstalled both packages, checked the installed payloads, and built and ran the example on Windows and Ubuntu. Both Windows shells also exercised uninstall.
What was tested
On Windows x86-64 and Ubuntu 24.04 under WSL, the extracted compiler passed self-test, compiled examples/00_hello/hello.n and produced a program that printed Hello, nC public beta with exit code 0. The test directories were outside a source checkout. The compiler did not need Rust, Cargo or LLVM on the search path. The Linux compiler, runtime and emitted example work together with the library beside the executables. The compiler and provider import glibc symbols up through 2.34.
R4 includes project name resolution and imported type lookup changes. Eight reference reports on each host matched the original bytes, including positive and negative cases. The clean B → C reconstruction completed earlier for A6. A fresh clean reconstruction of R4, the full machine.n consumer and complete ISA coverage remain pending. The published binaries are the existing R4 images with their matching providers.
| File | SHA-256 |
|---|---|
| Windows compiler | f2b744f07441573ad32d274c9596bb8f131a3981b8558d6c39f16d66708b53cc |
| Windows runtime | bef32be8f0cf734a91d5430ee5a915079eb10563cdcab0af5ab1746cdf149cfe |
| Linux compiler | c7a0889ff09ead304b896b3e8bee5ef9f12cb484115488e69a8473c45a0e49b3 |
| Linux runtime | 43b64017d08b3f12637d2e833c97c877282bc7f258ac756d65b63cf693f4b0fc |