<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>daniel.haxx.se &#187; trio</title>
	<atom:link href="http://daniel.haxx.se/blog/tag/trio/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.haxx.se/blog</link>
	<description>Technology is life</description>
	<lastBuildDate>Fri, 27 Jan 2012 22:10:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Autotool alternatives</title>
		<link>http://daniel.haxx.se/blog/2009/09/23/autotool-alternatives/</link>
		<comments>http://daniel.haxx.se/blog/2009/09/23/autotool-alternatives/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 11:31:41 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[autotools]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[trio]]></category>

		<guid isPermaLink="false">http://daniel.haxx.se/blog/?p=1220</guid>
		<description><![CDATA[Lots of people whine and complain on the set of build tools we often refer to as a collective by the term &#8216;autotools&#8217;. That term tends to include autoconf, libtool and automake.
I think we a certain amount of criticism is warranted against this family of aged tools that are unix-centric, have cryptic ways to control [...]]]></description>
			<content:encoded><![CDATA[<p>Lots of people whine and complain on the set of build tools we often refer to as a collective by the term &#8216;autotools&#8217;. That term tends to include <a href="http://www.gnu.org/software/autoconf/">autoconf</a>, <a href="http://www.gnu.org/software/libtool/">libtool </a>and <a href="http://www.gnu.org/software/automake/">automake</a>.</p>
<p>I think we a certain amount of criticism is warranted against this family of aged tools that are unix-centric, have cryptic ways to control them (I think there&#8217;s a reason m4 macros  is not widely used&#8230;) and they are several independent tools with a tricky mix of cross-breeding.<img class="alignright size-full wp-image-1225" style="margin: 8px;" title="A build tool" src="http://daniel.haxx.se/blog/wp-content/uploads/2009/09/309824_X_2007-07-04_145821_411.jpg" alt="A build tool" width="155" height="80" /></p>
<p>The upsides include them being well tested, fairly well known, there&#8217;s a wide range of existing tests done for them, they work fine when cross-compiling and they support building out-of-source tree just fine.</p>
<p>But what about the alternatives?</p>
<p>I spend time in projects where the discussion of ditching autoconf come up every once in a while, as sure as that the sun will rise tomorrow. The discussion is always that tool <strong>Z</strong> is much better and easier to deal with and that everything gets shiny if we just switch. That <strong>Z </strong>is a lot of different tools that are available today, including <a href="http://www.cmake.org/">CMake</a>, <a href="http://www.scons.org/">scons</a>, <a href="http://code.google.com/p/waf/">waf </a>or <a href="http://cdetect.sourceforge.net/">cDetect</a>.</p>
<p>The problem as I always see and why I almost always argue against Z is that autoconf is old, trusty, proven and I know it. The Z tool is often much newer, less proven, less peoeple involved in the project know Z, use Z or know how to customize it (since new tests will be needed and some tests will need to be changed etc). So even though Z is sometimes accepted as a testing ground in my projects, a year or two after the Z was accepted &#8211; unless I myself have accepted it and joined its efforts &#8211; Z has lagged behind to a point where it isn&#8217;t good anymore since I don&#8217;t know it and most people are rather fixing the traditional autoconf stuff. So we extract the Z support again.</p>
<p>But if we would never accept new tools we would never evolve, and yes indeed autoconf and friends have their share of flaws.</p>
<p>The question is of course when to switch &#8211; what kind of project in what development state etc &#8211; and which alternative that is useful for a particular project. Me being a developer primarily working with plain C and working with lowlevel code and libraries mostly will no doubt have a different view than those who use other languages, who do more &#8220;apps&#8221; or perhaps even GUI programming&#8230;</p>
<p>Can you help me point out good build system comparisions and overiews? I&#8217;ve tried to find good comparisions but I failed. Just about all of them are written by the authors of one of these tools.</p>
<p>My ambition is to create some sort of comparison document myself. I think the comparison could include autotools, cmake, waf, scons, cdetect, qmake and ant. Any more?</p>
<p>(I got triggered to write this blog post after <a href="http://sourceforge.net/mailarchive/message.php?msg_name=alpine.DEB.2.00.0909201541060.8217%40tvnag.unkk.fr">my post to the trio mailing list on this topic</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://daniel.haxx.se/blog/2009/09/23/autotool-alternatives/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>50 hours offline</title>
		<link>http://daniel.haxx.se/blog/2009/08/26/50-hours-offline/</link>
		<comments>http://daniel.haxx.se/blog/2009/08/26/50-hours-offline/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 21:20:15 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Rockbox]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[c-ares]]></category>
		<category><![CDATA[cURL and libcurl]]></category>
		<category><![CDATA[libssh2]]></category>
		<category><![CDATA[trio]]></category>

		<guid isPermaLink="false">http://daniel.haxx.se/blog/?p=1135</guid>
		<description><![CDATA[Several sites in the haxx.se domain and other stuff related to me and my fellows were completely offline for almost 50 hours between August 24th 19:00 UTC and August 26th 20:30 UTC.
The sites affected included the main web sites for the following projects: curl, c-ares, trio, libssh2 and Rockbox. It also affected mailing lists and [...]]]></description>
			<content:encoded><![CDATA[<p>Several sites in the haxx.se domain and other stuff related to me and my fellows were completely offline for almost 50 hours between August 24th 19:00 UTC and August 26th 20:30 UTC.</p>
<p>The sites affected included the main web sites for the following projects: <a href="http://curl.haxx.se/">curl</a>, <a href="http://c-ares.haxx.se/">c-ares</a>, <a href="http://daniel.haxx.se/projects/trio/">trio</a>, <a href="http://www.libssh2.org/">libssh2</a> and <a href="http://www.rockbox.org/">Rockbox</a>. It also affected mailing lists and CVS repositories etc for some of those.</p>
<p>The reason for the outage has been explained by the ISP (Black Internet) to be because of some kind of sabotage. Their explanation given so far (first in Swedish):</p>
<blockquote><p><em>Strax efter kl 20 i måndags drabbades Black Internet och Black Internets kunder av ett mycket allvarligt sabotage. Sabotaget gjordes mot flera av våra core-switchar, våra knutpunkter. Detta resulterade i ett mer eller mindre totalt avbrott för oss och våra kunder. Vi har polisanmält händelsen och har ett bra samarbete med dem.</em></p></blockquote>
<p>Translated to English (by me) it becomes:</p>
<blockquote>
<div id="result_box" dir="ltr"><em>Soon after 8pm on Monday, Black Internet and its customers were struck by a very serious act of sabotage. The sabotage was made against several of our core switches. This resulted in a more or less total disruption of service for us and our customers. We have reported the incident to the police and we have a good cooperation with them.</em></div>
</blockquote>
<p>Do note that you could keep track of this situation by following <a href="http://twitter.com/bagder">me on twitter</a>.</p>
<p>It&#8217;s good to be back. Let&#8217;s hope it&#8217;ll take ages until we go away like that again!</p>
<p><strong>Update:</strong> according to my sources, someone erased/cleared Black Internet&#8217;s core routers and then they learned that they had no working backups so they had to restore everything by hand.</p>
]]></content:encoded>
			<wfw:commentRss>http://daniel.haxx.se/blog/2009/08/26/50-hours-offline/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

