Cross-Compiling under Windows for Mac

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
normunds
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Sep 03, 2007 8:14 am
Contact:

Cross-Compiling under Windows for Mac

Post by normunds »

Is there any tutorial or hints, how to compile for Mac OS X on Windows?
valodas - free cross-platform language learning software
http://www.valodas.com
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

Hi!
I may be wrong on this, but I do not believe that this is possible. At least I never heard of a cross-compiler that would be able to do that.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
normunds
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Sep 03, 2007 8:14 am
Contact:

Post by normunds »

That's bad. And what about for Mac OS X on Linux?
upCASE wrote:Hi!
I may be wrong on this, but I do not believe that this is possible. At least I never heard of a cross-compiler that would be able to do that.
valodas - free cross-platform language learning software
http://www.valodas.com
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

Never heard of that either. The only cross-compiler working for desktop OS I know to be working is linux -> windows. However, this does not mean it doesn't exist or that anybody is working on that at the moment.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
qgranfor
Experienced Solver
Experienced Solver
Posts: 89
Joined: Sun Aug 29, 2004 7:32 pm
Location: ND...USA
Contact:

Post by qgranfor »

normunds wrote:That's bad. And what about for Mac OS X on Linux?
upCASE wrote:Hi!
I may be wrong on this, but I do not believe that this is possible. At least I never heard of a cross-compiler that would be able to do that.
http://www.sandroid.org/imcross/ are scripts to setup a cross-compile environment for windows and mac osx on linux and specifically targets wxWindows as well.
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

I have never heard of cross-compiling, but maybe it's possible. In all cases, don't forget to get information on app bundles otherwise wxWidgets apps won't run properly on mac
Post Reply