Obj-C as a viable multi target language
Obj-C as a viable multi target language
- Subject: Obj-C as a viable multi target language
- From: Philippe Hausler <email@hidden>
- Date: Wed, 8 Dec 2004 13:29:12 -0500
I know that the question has been asked before.
Is there any way to force Xcode to be a cross-platform IDE? (Not in
reference to other Mac OS X versions, but x86 platforms running Windows
or Linux breeds)
I have become very frustrated with C#, C++, and regular C for Win32
targets in Codewarrior: it takes me nearly triple the time to develop
software for Windows as it does Mac OS X. One of the main hurdles that
I am facing is that my cocoa code is nowhere near code-sense portable
to Win32 targets. I am sure that I am not the only developer facing
this problem.
Correct me if I am wrong.
PPC Linux can support Win32 targets via gcc.
Firstly, can't gcc and its binutil cohorts be recompiled on a Darwin
host for a MSDOS/Win32 target?
Obj-C is a true superset of of ANSI C.
Secondly, can't something like GNUStep be compiled as a targeted
framework for MSDOS/Win32?
If linking is an issue, dlls could be written to handle any library
issues.
Thirdly, can't any discrepancies between the dyld linking model of Mac
OS X/Darwin be overcome by making exe sub-directory dlls?
Carbon wrapped functions have Windows counterparts.
Fourthly, couldn't any carbon functions that are called from Cocoa be
"emulated" via calling the respective Windows API function?
I guess my idea stems off the popularity burst in the Windows developer
world of C# .net. Since it seems that any change is derived from
appealing to the top level users (developers). That change filters down
through management, companies, and finally consumers. Wouldn't a "port"
of Cocoa to a Windows environment in the long run just make more mac
users?
I may be completely off base here and suffering brain damage from
writing too much Windows application code, but I really think that it
would be a pretty good idea.
Sincerely,
Philippe Hausler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden