Re: Cross-platform Xcode
Re: Cross-platform Xcode
- Subject: Re: Cross-platform Xcode
- From: "Sherm Pendley" <email@hidden>
- Date: Mon, 8 Sep 2008 13:09:33 -0400
On Mon, Sep 8, 2008 at 12:11 PM, Jeff Heyob
<email@hidden> wrote:
Does anyone know if the cross-compile features of Xcode 3.1 will support an MFC or WXwidgets build of a C++ application.
Cocotron should get you at least partway there. It installs GCC, configured for cross-compiling with mingw32, and configures Xcode to make it available in compiler rules. It's intended for cross-compiling Cocoa apps though. It has its own Foundation and AppKit libraries, and you create the Windows targets by duplicating your Mac targets and tweaking the build settings for them. If you know Xcode well enough to create a blank target and add the necessary build phases from scratch, you could probably build "native" Windows apps with it, instead of porting Cocoa apps.
<
http://www.cocotron.org/>
MacPorts also has a GCC + Mingw32 set of packages for cross-compiling. In either case, since MFC is a Microsoft product, I wouldn't be too surprised if it only compiles with Visual C++. Wx, being cross-platform by nature, will probably work far better.
sherm--
--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden