@koitsu: Thanks. The command there has a typo, though (as mentioned in the comments below it), and should be: Code: CFLAGS="-static -Wl,-Bdynamic,-lgcc_s,-Bstatic" This gives me a 105KB binary instead of a 15KB one. I'll attach it here and see if it works for leandroong or others. Also, I did find that libgcc_s.so library in the entware toolchain (which I have a secondary toolchain), but its linker couldn't find it for some reason. It looks like entware's mipsel-uclibc-ldconf is hard-coded to look for cache files somewhere under /opt, and I didn't want to mess with trying to untangle that.