• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Building for Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building for Windows


  • Subject: Building for Windows
  • From: Dair Grant <email@hidden>
  • Date: Fri, 12 Aug 2005 16:10:52 +0100

Hi,

One feature we're going to miss in the move from CW to Xcode is the
ability to perform Windows builds from a Mac using CW's Mac-hosted x86
compiler.

Either to produce final executables, or simply to ensure cross-platform
code doesn't inadvertently become Mac-only.


Although Xcode doesn't officially support plug-in compilers, we've put
together some notes on using MinGW as a cross-compiler that allows Xcode
to produce Windows executables:

    <http://www.zonic.co.uk/products/mingw/>

The main snag is debugging, as Xcode can't directly attach to a Windows
gdb and VC++ can't be used to debug gcc-built executables. However the
Eclipse IDE, like Xcode, sits on top of gdb and can be used for
source-level debugging if gdb isn't sufficient.

I saw a couple of references to mingw/compiler plug-ins in the list
archives prior to setting this up, so hopefully this will be useful for
someone else.


-dair
___________________________________________________
mailto:email@hidden     http://www.zonic.co.uk/
 _______________________________________________
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

  • Prev by Date: How to Debug PlugIn???
  • Next by Date: Re: How to Debug PlugIn???
  • Previous by thread: Printing XCode project contents
  • Next by thread: ::main must return int
  • Index(es):
    • Date
    • Thread