Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Autark – A self-contained build system for C/C++ (autark.dev)
3 points by adamansky 6 months ago | hide | past | favorite | 4 comments
The Autark build system bootstraps itself directly from the project's source code, requiring only `sh` and a `C` compiler.


I don't quite get it, how can it be a C++ build system, if it only requires a C Compiler as dependency?

Or is the dependency on a C compiler in addition to the build toolchain?

In that case a dependency on a C Compiler is quite strange, why not just use bash


Hi! Build system itself only requires a C Compiler as dependency to work. So if you need a to compile a C++ project, C++ compiler is good to have.


Do you have any examples how to add external dependencies? It's a problem that almost every C/C++ project solves differently, unfortunately.


Sure! Take a look on https://github.com/Softmotions/iwnet/blob/master/Autark this project depends on iowow and fetches it from github when building.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: