Relative Content

Tag Archive for cwindowsmacosgcc

Use gcc on windows to compile for MacOS

I am writing a simple c program (nothing fancy, just a simple console input/output program) that I am writing on windows. I always use gcc to compile it to an exe, but I also want to compile it for MacOS so I can run it on my friend’s macbook. How would I go about doing that?