#Can zig build work like a Makefile and install the compiled binaries system-wide?
1 messages · Page 1 of 1 (latest)
Don't see why not
And I'd imagine doing --prefix /usr would work too
What is a prefix?
https://ziggit.dev/t/error-when-compiling-zig-from-source/8650/5
Ziggit
sudo I recommend to never use sudo to install any software, ever, including Zig. Leave your package manage to manage your root-owned directories. When building from source, a good prefix is ~/.local. With zig build, that would be -p ~/.local. To build from source, please follow the instructions. If you only want to use Zig and not contribut...