3 ms·
Yeah: make and knowing what you are doing. I've built some seriously complicated stuff which builds on Linux, Solaris and FreeBSD in the past with no autoconf
by meaty 14y ago
Yeah: make and knowing what you are doing.
I've built some seriously complicated stuff which builds on Linux, Solaris and FreeBSD in the past with no autoconf magic required.
Autoconf is just a massive Rube Goldberg machine in disguise.
- mhd 14y agoIt arose out of a different time. Linux/Solaris/BSD are trivial, compared to all the differences of the commercial unices of ages past, with their idiosyncratic libraries, BSD vs. SysV vs. POSIX, never mind all the different compilers. People would've sacrificed their firstborn to get something running on both HP/UX and SunOS, compared to that autotools was a blessing. I think there are more papers on build systems than on sort algorithms.
- meaty 14y agoI've been through that as well. I have in the past just provided a different Makefile for each platform and run as follows: make -f Makefile.osf1 make -f Makefile.sunos4 make -f Makefile.sunos5 There is usually little difference between them - mainly compiler names/flags and the occasional def for code. Occasionally make is broken at which point you have to frig something. Keep It Simple is the #1 rule. Rule #2 is every bad thing you do will do two things bad back to you in the future.