by endgame · 2y ago · 0 comments
One additional point: autotools are bootstrappable without going all the way up to C++ (CMake, ninja) or Python (meson).
And yes, muon and samurai are written in C99, but as soon as I wanted to both support -fvisibility=hidden and unit tests in my project, I was forced to build both static and shared libraries. This forced me back onto libtool, and once I was there I figured I may as well stick with the good ol' autotools.
But also, I still don't have an answer to "I want to build with -fvisibility=hidden and also have unit tests" that isn't "libtool".
GCC is written in C++.
So on a modern system you are going to have to use C++ anyway.
You do need Perl though.