JP.
JP.

Reputation: 5594

Really, really basic cross compiling C programs

I have a (really basic) C program I can compile with GCC on my mac. No need for code, it fseeks, freads, fprintfs and that's it (it makes use of stdlib.h and stdio.h).

Is there a way for me to compile a win32 binary on my Mac which would run on Windows XP?

I'm looking for a simple (under 15 minute) solution, if the answer is "find someone who has Visual Studio" then that's cool :)

Upvotes: 4

Views: 229

Answers (1)

npclaudiu
npclaudiu

Reputation: 2441

You can use a MinGW port for Mac for cross compilation.

Upvotes: 2

Related Questions