SRL Archive - Delphi/FPC Help and Tutorials

Mac Compatibility


gerauchert

2010-03-12 19:17:32

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

2010-03-12 21:17:43

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?

2010-03-13 04:41:48

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

2010-03-14 01:47:41

Thanks for the input guys

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

From: Wizzup?
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

2010-03-14 06:50:00

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?

2010-03-14 07:30:07

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


Yes
From: gerauchert

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

2010-03-14 07:31:49

It will be hard if you've used a lot of third party components that aren't compatible with Lazarus.