PDA

View Full Version : Mac Compatibility



gerauchert
03-13-2010, 12:17 AM
I am currently developing a windows delphi app and I am trying to see if there is a way to give it mac compatibility.

After a bit of googling I came across Free Pascal and WINE. I think I get the gist of it, but I would like further clarification if someone could explain the finer details to me.

My understanding is with Free Pascal, I compile my code and it becomes cross platform compatible. Similarly, after installing WINE on the mac my windows app will also be compatible. Am I getting the right impression here? Any help would be appreciated.

Harry
03-13-2010, 02:17 AM
Your best bet is to learn a different, native language.

I have never tried FP, but I have used WINE. Expect instability with quite a few things.

Wizzup?
03-13-2010, 09:41 AM
You'll need to code in Lazarus/FPC. WINE is only for running Windows apps on Mac, but it won't allow other people to run it on a mac too. Lazarus compiles it to a Mac app.

gerauchert
03-14-2010, 06:47 AM
Thanks for the input guys

@Harry, what sort of instabilities are we talking here?


WINE is only for running Windows apps on Mac, but it won't allow other people to run it on a mac too.

Meaning only people who have WINE will be able to run it?

Going the other route... how much different is Lazarus compared to delphi? I am just looking for the easiest way to get this program working on my client's mac. If it would be tedious to transition my delphi code into lazarus, then it probably wont be worth it.

Powellplodge
03-14-2010, 10:50 AM
Wine takes a lot of configuration. Take wizzups advice and go with something native to mac like Lazarus. If anything goes wrong there's less to troubleshoot too.

Wizzup?
03-14-2010, 11:30 AM
Meaning only people who have WINE will be able to run it?

Yes


Going the other route... how much different is Lazarus compared to delphi? I am just looking for the easiest way to get this program working on my client's mac. If it would be tedious to transition my delphi code into lazarus, then it probably wont be worth it.

Not too hard if you feel like it.

nielsie95
03-14-2010, 11:31 AM
It will be hard if you've used a lot of third party components that aren't compatible with Lazarus.