XCode 4 cross-platoform development

Discussion in 'Mac Programming' started by ScoobyMcDoo, Apr 4, 2011.

  1. macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #1
    I was wondering if xcode 4 has added any cross-platform development features. Specifically, right now I use NetBeans running on OS-X, but I have it compile on a Linux VM (or physical machine). It then sends back compile errors and warnings that I can click on which take me back to the appropriate line of my code.

    XCode 4 have anything like this? Or is it really just tailored for OS X and iOS development?
     
  2. macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2
    Yes, this one. IMO the reason to use XCode is if you're doing Cocoa or Cocoa Touch development. It is nice, so I guess large-scale C++ or maybe even C work might be worth trying, but it's going to pump out code for various procs (PPC <before 3.something>, x86, x86_64) in Mach-O format. There may be a way to work out a build environment using makefiles, usw. that will result in a cross-compilation toolchain being used to build for linux, but this isn't an "out of the box" feature as far as I know. They want you to use it to make great Mac software. They don't really want the same great software to be available on Linux and Windows.

    -Lee
     
  3. bux
    macrumors regular

    Joined:
    Apr 22, 2004
    Location:
    Sweden
    #3
    Nothing built-in, but I think it's still possible to do so like it was in xcode3 - but it's not really worth the trouble imo. A lot easier to copy the code and compile it in an virtual machine unless someone has already been working on some package for that but I don't know anything of such thing yet.

    EDIT:
    Lee gives some good points also :)
     
  4. thread starter macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #4
    Thanks for the feedback. I'll just stick with Netbeans for now. It works pretty well, but has it's quirks. I just like to play with new toys if they have promise.
     
  5. macrumors 6502a

    Joined:
    Oct 26, 2010
    #5
    QT has some good abilities to facilitate cross platform development and still let you use xcode, using qmake from a .pro file.
     

Share This Page