Hello, can an exe statically linked by c++ or code blocks run on a mac? if it requires a software to convert it, which would you suggest? Thank you for any help.

Recommended Answers

All 2 Replies

I'm pretty sure it has to be compiled on the platform you plan to deploy it on. You could look up cross-compilers or cross-compiling, but that's a huge mess. The most sane way to do it, is to grab a mac and compile your code on it.

Or do you want something like 'wine' for MAC? Maybe this is something for you then

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.