[ACCEPTED]-Delphi on the Mac - possible?-macos
You might want to try Lazarus:
Mac OS X doesn't run Windows programs. It 8 doesn't provide any of the API you'd need, such 7 as the functions in kernel32, user32, etc.
Your options to run native Delphi code on 13 OSX are pretty limited. You can use Lazarus/Freepascal 12 but that is a long way behind Delphi. It 11 will produce native code.
Alternately you 10 can use Prism and Mono. That apparently 9 works well. Have a look at http://devcenter.remobjects.com/osx or http://wiki.remobjects.com/. Also, check 8 out the remobjects blogs, and the embarcadero.public.delphiprism.mono.osx 7 newsgroup.
That needs the mono redistributable. However 6 mono also supports linking and ahead of 5 time compilation so you might be able to 4 get something close to native code on it.
In 3 either case, you will need to rewrite your 2 ui as the osx look and feel and conventions 1 are different.
This is a very old thread but for people 6 browsing here and looking for an answer 5 in Q3 of 2011 or later the answer is yes.
With 4 the release of Rad Studio XE2 this year, Delphi 3 Developers will be able to create native 2 applications for Mac OS as well as Win32, Win64 1 and iOS more platforms coming soon.
There may be some hope for the future for 15 Delphi and the Mac.
The Podcast at Delphi.Org reviewed the closing 14 keynote at CodeRage III (Dec 2008) when 13 Embarcadero’s Wayne Williams talked about 12 the Future. It said this:
I think the most 11 exciting part of Wayne’s talk was the slide 10 marked “The Future” which listed some of 9 the company wide research initiatives underway. It 8 specifically listed Mac, Linux, Cloud, Application 7 Virtualization, FireBird, Touch, 64bit, SMP 6 and Multi-core. When I asked about a Delphi 5 for Mac and Linux they said that today, with 4 Delphi Prism and Mono you could reach Mac 3 and Linux, but in their labs they were working 2 on native support, and that they had a significant 1 head start.
While the Lazarus route is not a no brainer 9 recompile, I've good experiences with it. I 8 tried the (Delphi).NET+mono way before (to 7 WinCE, Linux and OS X), and failed miserably.
Codegear 6 talks a lot, but the next Delphi version 5 will only have a PREVIEW of 64-bit (cmdline 4 compiler). If you assume the version after 3 that is the full 64-bit product, you can 2 be sure that OS X is at the earliest 2 years 1 away.
Lazarus or recoding.
I listened in on one of the recent Delphi 7 2009 show-off conference calls and they 6 said that it was possible to run on a Mac 5 using Delphi Prism and there is an automatic 4 conversion utility called Oxidizer. I'm 3 not sure if you'd call that native since 2 you'd need Mono, but I think it's better 1 than Wine.
Another alternative would be to develop 11 a web based application. This avoids the 10 "gui is different" problem and allows you 9 to focus on your product. If you look at 8 some of the latest AJAX controls, you can 7 get pretty close to a full desktop application 6 experience without having to sacrifice much. If 5 your application needs to run locally, then 4 developing a local web service in Delphi 3 and translating it to Lazarus specifically 2 targeting OSX seems to me to be a much easier 1 and manageable task.
There's not really a good solution for this. Someone 12 mentioned Lazurus, but it's not "there" yet. Delphi 11 is just not a cross-platform tool. If you 10 really want a Mac version then you probably 9 ought to look at alternatives.
If your app 8 is consumer-based, your users will expect 7 lots of Cocoa goodness. Using anything 6 else to make a Mac app will make them cranky.
However 5 if it's more of a business app, then that's 4 usually less important. I use REALbasic 3 to build lots of Mac/Windows business applications. It's 2 very similar to Delphi so it should be easy 1 to pick up.
We have released a new product for creating 2 cross platform apps (Mac OSX) using Delphi/Free 1 Pascal. have a look at http://twinforms.com/
Welcome to the future/relive the past!
More Related questions