• 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
Re: Dev on mac, build on a sparc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dev on mac, build on a sparc


  • Subject: Re: Dev on mac, build on a sparc
  • From: Mike Jackson <email@hidden>
  • Date: Fri, 15 Dec 2006 08:40:17 -0500

You could try using CMake as a "cross-platform" build system. CMake essentially takes the place of AutoTools but does not have the learning curve. CMake "knows about" lots of platforms and so should work well for you.
CMake _can_ generate Xcode projects for you if you need it to but what I might be tempted to do is to setup CMake to generate Makefiles, then use Xcode to do your development but use the MakeFiles for the building. This has worked very well for a few of my projects in the past. CMake is just a text file so it is CVS friendly. Then when your app is ready for solaris just move the code and CMake file to Solaris, rerun "cmake" to generate Makefiles that are specific for Solaris and compile.
I have used this approach to get the same code to compile on OS X, XP, Linux, IRIX and a Cray. All with the same CMake file.


Just my 2 Cents.
--
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Dec 15, 2006, at 6:56 AM, Nicolas Goy - kuon - 時期精霊 wrote:

Hello everybody,

I know it sound a bit off topic, but my question is relevant to xCode, so I thought it was the right place.

I'm currently working on a game project, with networking support (MMORPG).

Anyway, no trouble for client side, we use xcode to create universal binaries and windows binary with mingw cross compiling.

Now, for the server part, we will certainly use sparc multicore cpu (the thread monster servers). I want to dev the server part on my mac, using xCode, but the app will be compiled with sun studio on sparc.


I will do the debugging on my mac, compiling as ppc binary (ppc is near enough of sparc to debug). But I don't know how I will compile my xCode project using sun studio.


A solution I though of is using makefile within xcode. But, I don't really know how. I use xCode because it's super handy. I want the best was to manage my solaris sparc build. I don't want to edit the makefile each time I move or add a *.c or a *.h.


Any recommendation?

Regards
--
Kuon
CEO - Goyman.com SA
http://www.goyman.com/

"Computers should not stop working when the users' brain does."



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40imts.us


This email sent to email@hidden


_______________________________________________
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


References: 
 >Dev on mac, build on a sparc (From: Nicolas Goy - kuon - 時期精霊 <email@hidden>)

  • Prev by Date: Re: Dev on mac, build on a sparc
  • Next by Date: Re: Why doesn't Apple's Installer let me choose architecture?
  • Previous by thread: Re: Dev on mac, build on a sparc
  • Next by thread: Re: Dev on mac, build on a sparc
  • Index(es):
    • Date
    • Thread