As for Linux, it might be even simpler to install a virtual machine and compile there, rather than setting up a cross-compiler.