Security Linux C Cross Compiling C Code for Linux Cross-compiling comes in handy when compiling applications or exploits for a machine with a different architecture than your host machine.