So I am trying to take a C file/project on my mac book air and compile it so that it produces a static executable that can run on a Linux x86 platform. Is there a way to compile it for Linux while on my Mac. Also I am hoping to have functionality extend to Windows as well so is there a way to compile for Linux while on Windows as well.
Thanks for any help!