z v1.7.0 – Feature Summary
Assemble & compile – NASM, GAS, FASM, C (.c), C++ (.cpp, .cc, .cxx) with strict warnings (-Wall -Wextra -Werror -Wpedantic -Wshadow -Wconversion).
- Single file or recursive directory –
-asm,-cc,-dir. - Parallel builds –
-j N(0 = auto = CPU cores). - Output formats –
elf32,elf64,bin(flat binary for bootloaders). - Linker control –
-T <script>(linker script),-Ttext <addr>(text segment address). - Interactive shell –
fz -shellwithbuild,set,show,clean,watch,exit. - Project initialization –
fz -initcreates.fz.yaml,.fzignore,README.md. - Incremental cache – SHA256‑based, avoid redundant rebuilds.
- Watch mode –
-watchauto‑rebuild on source changes. - JSON output –
-jsonfor CI/CD integration. - Sanitizers – ASan + UBSan by default,
-strictadds use‑after‑return/scope (prefers clang). - Duplicate symbol pre‑check – saves time before linking.
- Clean artifacts –
-cleanremoves.fz_objs,.fz_cache, binaries. - Config file –
.fz.yamlsupportssource_dirs,source_files,exclude,include,libs, custom flags. - Cross‑platform – Linux, macOS, Windows (native via clang+lld).
Comments ()