The binary is built using an ARM based GNU G++ Compiler tool-chain from CodeSourcery[cs]
Busybox[bb] is practically mandated, as the usual UNIX-like tools found on Android are considered inferior. It is recommended that these tools are installed in conjunction with, if not before sqlite3.
Method
Download and install the Linux/ARM G++ Tool-chain from CodeSourcery; the narrative assumes that the binaries are in /opt/arm/bin. This tool kit contains cross-platform C compiler and linkage-editor for ARM.
Download and install ADB. The eponymous adb program should connect to the 'phone using USB, wires permitting. The connection can be checked using the ADB shell command. In some instances it is necessary to start adb with system privileges (sudo(8), or as root) this is because the USB devices may have restricted permissions and the adb server needs to connect to them. Adb should not to be confused with the ancient UNIX debugger (old hands may remember it, '$c', '$q').