Re: Coding a plain C application in XCode with windows compatibility
Re: Coding a plain C application in XCode with windows compatibility
- Subject: Re: Coding a plain C application in XCode with windows compatibility
- From: AgentM <email@hidden>
- Date: Tue, 3 Oct 2006 16:08:56 -0400
On Oct 3, 2006, at 15:20 , Kuon - Nicolas Goy (Goyman.com SA) - 時
期精霊 wrote:
Hello folks,
I know my problem is not "really" an xcode matter, but it comes to
XCode as I do all my coding under XCode.
There it is: I create a plain C application, with no libraries
except stdlib, pthreads, SDL and OpenGL. This application will be
huge, anyway, I've been a C, Java, Cocoa coder for many years now,
but I never coded a single line of any language under Windows.
So, what I want, is hapily code under XCode, and when I wanna test
my code under windows, XCode create "something" I can use to
compile under windows.
After some search, I was able to find MinGW, which seem to be the
alternative to Visual Studio, and it use gcc and makefiles.
It would be superb if XCode could create a Makefile (and maintain
it up to date) so I can just "make" under windows to compile my
project.
I found http://lists.apple.com/archives/xcode-users/2003/Dec/
msg00047.html
and some others, but they are 3 years old, so I don't know what is
the current situation.
You will need to create your own Makefile-based project. Xcode will
then run make to build your process as will MinGW. This should be
fairly trivial because SDL includes the sdl-config program which will
spit out the requisite compiler flags.
Good luck!
-M _______________________________________________
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