3 ms·
gcc/clang isn’t really sufficient though right? Usually there is another build system on top
by klysm 2y ago
gcc/clang isn’t really sufficient though right? Usually there is another build system on top
- kianN 2y agoI only use clang with a Makefile and I’ve done some relatively complex projects albeit with only a few collaborators.
- dmitrygr 2y agoI haven’t seen a system that has GCC but lacks make
- inferiorhuman 2y agoYeah, but is it a version of make that's compatible with your makefiles?
- theamk 2y agolikely yes? I've never had problems with make versions specifically. Usually the project requires distro at most X years old because of gcc/clang version or shared library version. By the time you solve those, your make is new enough as well.
- inferiorhuman 2y agoI mean yeah if all you're using is Linux then the issues with buggy versions of GNU make is something you've probably not seen in a while. Apple is still on 3.81 due to GPLv3 which means bugs. None of the BSDs ship with GNU make in the base system, and I believe they all install it at gmake (which means you've gotta be careful about hardcoding calls to make.
- ryao 2y agoIt is possible to write portable make files that work with both.
- inferiorhuman 2y agoThe pain in doing so and the very real chance you're trying to do something that can't be done in a portable manner is why things like cmake (and every other build system under the sun) exist.
- maccard 2y agoIn my experience as a regular MacOS user, the "portable" solution is to install the version of make that everyone else uses (i.e. it's not portable)