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 » Wed Nov 12, 2008 10:50 am

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
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Wed Nov 12, 2008 11:11 am

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 » Wed Nov 12, 2008 2:34 pm

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
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Wed Nov 12, 2008 2:41 pm

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 » Wed Nov 12, 2008 9:48 pm

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 » Thu Nov 13, 2008 1:03 am

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