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: " Kuon - Nicolas Goy (Goyman.com SA) - 時期精霊 " <email@hidden>
- Date: Thu, 05 Oct 2006 12:13:15 +0200
On 5 Oct 2006, at 10:35, MacArthur, Ian (SELEX) (UK) wrote:
I will look into it, being able to compile under macosx would
be Superb!
FWIW, when I tried this, it worked OK. But... in the end it was less
hassle to just get a cheap win32 box (and lets face it, they are dirt
cheap nowadays) and network it to the Mac.
I do all the actual work on the Mac (but using Makefiles rather than
Xcode projects) and then whe I get something that works on the Mac,
copy
it across to the win32 box, rebuild it using mingw/Msys and test
it. VNC
can come in handy too...
If you want to build cross-platform code that works with OpenGL and
SDL,
and you need some windowing support, then I'm a big fan of fltk
(www.fltk.org) that works nicely across platforms, works really well
with OpenGL and works OK with SDL. Write once, compile anywhere,
and all
that...
After two hours of digging into XCode and MinGW, I was able to
compile my
SDL/OpenGL application for windows, and it works like a charm on
windows.
Now I just select Windows target in my XCode project, and PoOf, a
win32 .exe
is created.
Thanks for all tips.
--
Kuon
CEO - Goyman.com SA
http://www.goyman.com/
"Computers should not stop working when the users' brain do."
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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