http://dev.gentoo.org/~abhishek/stage1-arm-200303101752.tar.bz2
chroot into it
setup fstab

arvm4l-unknown-linux-gnu

REbuild binaries with -mno-half-word -mshort-load-bytes
objdump -d usr/bin/blah | grep ldrh

RiscPC does not have Halfword (LDRH) support

http://www.scratchbox.org


Printk stuff:
-------------
printk is the kernel version of printf.

printf is part of glibc so the kernel needs its own built-in implementation.

printf prints formatted strings to an output stream.

sprintf prints them to a string allocated in memory.

and snprintf does sprintf, but does bounds checking on the buffer it writes to.
Actually, specifically printf writes to stdout. fprintf writes to any output stream you want.
And that's the difference.