4 ms·
I will never understand how people have such a rosy view of C development. Is it just that today people think there is only GNU make, and only GCC or clang? A
by aidenn0 7y ago
I will never understand how people have such a rosy view of C development. Is it just that today people think there is only GNU make, and only GCC or clang?
Autotools used m4 because it was the most portable Unix tool, not because it's a good language to write your build scripts in...
- justinmeiners 7y agoI have had problems with C, but building my code was never one of them. You are right that I have only used GCC, Clang, and Visual Studio. I thought they use M4 because they were doing sophisticated preprocessing?
- aidenn0 7y agoI misremembered; M4sh (which uses m4 to generate portable bourne-ish shell scripts) is what was the lowest-common-denominator for autoconf.
- dan-robertson 7y agoPerhaps C was a poor example. I just mean “statically compiled language where files become objects and objects get linked into executables/libraries and this is done by a build system”. Perhaps rust would have been a better example as there is less variety in build systems.