Quote:
Originally Posted by shawn.schwartz
Hello CD,
My team members and I really want to switch to C++ from Java. Currently, we use Java with Netbeans. We would prefer to use Xcode to write and compile, and even deploy our code to the cRIO if possible. Is there a way to do this?
Or is there a different application we need to use? Can someone please post instructions or other applications that they have used for something like this?
Thank you very much! We are really in need for this help! 
|
You're going to have some problems with compiling C++ on a mac because the compiler supported by FIRST doesn't work on anything except for windows. You can try to run it under wine and make your own toolchain, but that's not really a permanent solution. An experimental port of GCC has now been pulled into GCC's mainline, and compiling it for powerpc-wrs-vxworks with osx as the host does work (I've tested it). As a side note, you should use
GNU gcc to compile the cross-compiler instead of Apple's favorite
LLVM gcc. Instructions on how to download and install GCC for cross-compiling for vxworks/powerpc can be found here (1).
(1)
http://www.chiefdelphi.com/forums/sh...d.php?t=109385