I decided to force myself to make a technology blog. Its because I have made a very important discovery.
For a long time I've been a linux user working in a world where windows is overly common. Luckily though, I have often been able to make the argument to my bosses that cross-platform development is important, and that free-software tools are high quality and save much time and effort.
What often stymied my noble efforts however, was the pain in the arse, not in making cross-platform code, which is a problem well attended to over the decades, but the trouble of getting something to build on all platforms.
You have autotools on the unix side, Visual Studio solution-files on the windows side, and well-meaning cmake in the middle, with a down-trodden, lonely, underused look on his schoolboy face.
This is issue is oppressing me as we speak at work, with us trying to integrate the powerful and flexible Telepathy messaging framework, and its companion libraries GStreamer and D-Bus. All of it portable C. All of it buried under mounds of steaming autotools.
For the past week we have been doing the slop-work of trying to reverse-engineer the intended build process codified in the dead languages that make up autotools, and re-implement them in cmake in the hopes that it might be accepted upstream, and one day be liberated from the shackles of 1987.
It's not Happy.
And neither was I until I stumbled across this little gem. Long story short: Fedora 11 will ship with a fully functional windows cross compiler.
Autoconf-based programs can generally be cross-compiled by doing:
yum install mingw32-*
./configure --host=i686-pc-mingw32
make
Project page here.
That however means that the binary will not be build with VC++, rather GCC, which may cause some windows programmers to cringe. I'd like to learn just how much performance is really lost. I also wonder what sort of ABI boogie-men are lurking.
To summarize
1. Portable code - Done
2. Cross-platform build system (with no need for windows license!!) - Check
3. Broad binary compatibility - Future is Hazy
Friday, January 16, 2009
Finally a work-related post -- about Windows?!
Sunday, January 11, 2009
Friday, December 26, 2008
Reboot America
You know what the trouble is? We used to make shit in this country, build shit. Now we just put our hand in the next guy's pocket..
Bottom line is the only thing that produces real wealth anymore is investing in science and engineering that will create new technologies that improve real people's lives. Anything else is an economic dead-end.
I fear for a world that neglects investing in the education of its populace in favor of vacuous diversions and populist short term public policies.
Thursday, December 25, 2008
How to construct a healthy diet
Eat food. Or how the gaming of nutrient intake, through misguided politics, science, and commercialism, is making us unhealthy.
Wednesday, December 24, 2008
Thursday, December 18, 2008
Consuming excessive fantasy impares your ability to handle reality
More studies showing how right I am about everything!
Saturday, December 13, 2008
Tuesday, December 2, 2008
Sunday, November 23, 2008
Thursday, November 20, 2008
Graphical Evidence of the Evil of Gay Marriage
Oh GEAR DOD, noes!!1eleventy
Please do not offer my god a peanut.
Thank you and come again.










