develooper Front page | perl.perl5.porters | Postings from September 2012

Cross-compiling with Buildroot (using qemu)

Thread Next
September 5, 2012 06:36
Cross-compiling with Buildroot (using qemu)
Message ID:
Buildroot is a cross-compiling environment for embedded linux (see
It allows to build a cross toolchain, your application (for example
perl), a kernel linux and finally a root filesystem image.
With Buildroot, you could target a real embedded device or the
emulator qemu (system mode).
So, you could build a VM with only a linux kernel, busybox and perl.

My goal was to run Dancer.
My work is currently in the BR patch queue
The main patch is (
contains the recipe)
Qemu in user mode allows to run a target binary in the host environment,
so the full process (configure, building, testing) is almost standard but slow.

Sometime embedded device requires a minimalist stuff, so the patch allows to install only
miniperl on the target.

In order to use modules from CPAN, I use cpanminus, see
Dancer requires 22 distributions, only HTML-Parser is a XS module
which needs a patch.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About