|Nov 7, 2012, 02:23 AM||#1|
Cross compiling for windows using Xcode
continuing me previous post, where i asked about cgal library, i now managed to run on my mac c++ code with installed cgal libraries (using macports)
now i have another issue, i wish to target it for windows.
i read some breif explenation saying to change compiler to cygwin.
im not sure how & even if its already installed,
but another point to take into consideration, will it work with the installed cgal libraries? or will it ignore it for some reason?
|Nov 7, 2012, 04:14 PM||#2|
Cross-compiling from one platform to another is sort of complicated. At least has every time I have worked on it. Not worth it if you ask me as there are always little nagging things creating problems. And you still need to test it on the actual target anyway.
So, simple donīt. Get a windows partition and boot into that (or run it as a virtual machine) and compile and test on that platform. Saves lots and lots of trouble.
Other ideas to take home. Always use a source code version control system, GIT is one example. Fetch the code from there into the different environments and check changes back in.
|Nov 7, 2012, 04:31 PM||#3|
well, im getting the picture and it does seems complicated
sadly, i need to work with cgal library, and its was too complicated to install on a windows machine
the installation & setup on mac + xcode was very easy and its already working.
so i just thought maybe to compile to windows from my mac, and get it done already..
further testing is not an issue at all, i have windows7 with parallels anyway
about git, i should use it but in this case its really a few lines
but thanks for the advice
|Dec 2, 2012, 01:58 PM||#4|
Theoretically, Xcode's architecture support can make targeting the Windows architecture fairly easy. However there are no projects that I know of that takes advantage of this.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|xCode and multiple windows||DennisBlah||Mac Programming||17||Dec 10, 2013 01:29 AM|
|Moving from xcode 3.2 to xcode 4.5.2 compilation error for 'abs' macro in stdlib.h||hrishidev||Mac Programming||7||Jun 2, 2013 11:36 AM|
|Cross compiling||DenBeke||Mac Programming||8||May 18, 2013 03:08 AM|
|compiling VTK using Xcode||ilantal||Mac Programming||7||Jan 2, 2013 11:43 AM|
|c++ xcode cross-platform game development||Ultimatenero||Mac Programming||3||Sep 8, 2012 05:19 PM|
All times are GMT -5. The time now is 09:17 AM.