# V8007 native_linker_missing

URL: /docs/errors/V8007
Markdown: /docs/errors/V8007.md

> 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 [#wrong-program]

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

## Fixed program [#fixed-program]

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