Sakura Lang

V8007 native_linker_missing

sakura build --target native (experimental) links the program with the system C linker, cc, and none is on PATH.

An error from the package phase. sakura explain V8007 prints this explanation offline.

sakura build --target native (experimental) links the program with the system C linker, cc, and none is on PATH. Sakura Lang bundles no linker. On macOS, xcode-select --install installs the Command Line Tools, which provide cc; on Debian or Ubuntu, sudo apt install gcc; on Fedora, sudo dnf install gcc. Then build again. --target js and --target wasm need no linker.

Wrong program

No fixture in compiler/tests/ui reports this code yet.

Fixed program

No fixed program yet; the explanation above describes the repair.

Edit on GitHub

Last updated

On this page