Hmm...
Posted Nov 5, 2011 9:28 UTC (Sat) by
khim (subscriber, #9252)
In reply to:
If you can not test something - it's broken. by cmccabe
Parent article:
libabc: a demonstration library for kernel developers
Autotools makes portability harder by closing off an entire platform to you (Windows)
s/harder/easier/
Windows is so alien compared to the rest of the universe that it's better to leave it be. Whoever want to mess with this monstrousity have my condolences, but I don't see why I should bother crippling things for the Windows sake. In general I think it's right approach: compare Git (which started with the assumption that Windows is not important) and Hg (which was developed with Windows in mind). I've worked with a lot of projects and the number of kludges they had for Windows usually exceed the number of projects for sane (POSIX-compatible) platforms combined. This is not an accident, but result of deliberate sabotage on Microsoft's part (NT was sold as POSIX-compatible system, remember?) so I don't think we should spend our time thinking about Windows. Let the poor sods who are forced to use that platform do whatever they want - as long as it does not affect the rest of us much.
by forcing you to write possibly non-portable shell code to do routine tasks.
IMNSHO it's better to write routine tasks in well-known (albeit weird) language, rather then learn "yet another language of the day".
Nope, automake is not my favorite thing...
Ah, no objections here. Automake is horrible. But it's standard - and that's what counts. Kind of reverse to the usual saying: all automake projects are unhappy - but they are unhappy in the same way, all CMake/scons/whatever projects [may] be happy (I'm not sure), but they are happy in their own way and demand induvidual approach.
Besides you can use autoconf without automake - often it's good enough approach, albeit for libraries automake is better because of libtool integration.
As a further bonus, those steps add 20 seconds of coffee break time to each build, even if you're only building one thing.
Well, this is true to some degree, but then these "20 seconds" are split as 15seconds/5seconds + 1second for libabc (./autogen.sh or ./configure, ./make) and you are not supposed to rerun ./autogen.sh constantly. In fact only libabc developers should run it. Yes, autotools are pigs, but today's systems are more then powerful enough to cope with them.
(
Log in to post comments)