Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22001

Compiling C code on Mac/Windows to run on Linux [duplicate]

$
0
0

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!


Viewing all articles
Browse latest Browse all 22001

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>