Download and Execute

Implement a function to download a file at a location set at compile time and execute it. Make sure that this works for both 32 and 64 bit Linux machines.

What would you need to do to have this download location set at time of activation my portknock? Food for thought, you don't have to implement it now.

Submit your C with comments on how to compile.