Compiling boost for Windows, with MinGW on Linux

Just in case you see the utter logic in developing for Windows on Linux In the root of the unpacked Boost: Run ./ –with-python=$(which python2) –prefix=${HOME}/opt/boost-win –without-icu Modify project-config.jam like this: # file. if ! gcc in [ feature.values ] { – using gcc ; + using gcc : : i486-mingw32-g++ ; } project : …

Continue reading ‘Compiling boost for Windows, with MinGW on Linux’ »


LXDE and multiple screens: replacing lxrandr with a script

When using Gnome3 I was really impressed with the support for multiple screens. Then I switched to LXDE and was very disappointed in that desktop’s support for multiple screens. In fact so disappointed that I sat down and read the man-page for ‘randr’ and hacked up the following script: #! /bin/bash   cmd=$1; shift   …

Continue reading ‘LXDE and multiple screens: replacing lxrandr with a script’ »


Shelltestrunner to the rescue

A little while ago shelltestrunner was announced on haskell-cafe. At the time I was slowly losing hope on ever getting decent test coverage in cblrepo using HUnit. Using something like shelltestrunner could be an easier and more workable solution, especially since what cblrepo needed most in the short term is a bit of integration testing. …

Continue reading ‘Shelltestrunner to the rescue’ »


Compiling U-Boot for use in QEMU (VersatilePB)

Since I’m now working a bit with embedded systems I thought I’d take a look at compiling for one of the ARM-based machines that QEMU supports. I settled for VersatilePB after finding this old-ish article. Rather optimistically I thought that maybe, just maybe things had change in a year and that the limitation of flash …

Continue reading ‘Compiling U-Boot for use in QEMU (VersatilePB)’ »