You can start with compiling your code on the device (follow the Raspberry Pi tutorial). Once that works, you can try using a Raspberry Pi cross-toolchain and re-synchronizing its sysroot so that the headers/libraries contained in it get overwritten by the files from your device.