I got tired of typing nasm/ld/gcc by hand, so I built a tool that does it for me
Alex Voste created a command-line tool called fz (ForgeZero) to simplify the process of compiling assembly and C code. The tool eliminates the need for remembering various compiler flags and allows users to build projects with a single command. It also features incremental builds, strict mode for C, and JSON output for CI/CD pipelines.
- ▪fz is a CLI tool that automates the compilation of assembly and C code without the need for complex configurations.
- ▪It supports incremental builds and can watch for file changes to rebuild automatically.
- ▪The tool enforces quality by compiling C files with strict warnings and includes options for sanitizers.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3933967) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Alex Voste Posted on May 17 I got tired of typing nasm/ld/gcc by hand, so I built a tool that does it for me #assembly #c #devtools #go If you've ever written assembly or C without CMake, Makefiles, or any build system — you know the ritual. Open terminal. Remember the flags. Compile one file. Then another. Then link them. Then mess up the argument order. Then do it again. And again. Every. Single. Time. I did this long enough to finally say: enough.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).