Attached, source and static-arm build of bin2c.
If I type any more in this post, the post will be longer than the source code.
Build notes:
Code:
(armv6l:1) /home # gcc --static --static-libgcc -O2 -o bin2c bin2c.c
(armv6l:1) /home # ldd bin2c
not a dynamic executable
(armv6l:1) /home # strip --strip-unneeded bin2c
(armv6l:1) /home # tar -czf bin2c-static-arm.tar.gz bin2c bin2c.c