I have tested all my systems developed in Delphi (in Windows XP) on Wine (OpenSuse Linux) and they work perfectly. My question is: should I start distributing my systems (on a local basis that I can support) as Wine ready or are there other issues I should take into account?
8 Answers
You could do what Google does and package Wine with the application. That way there's no fear that Wine will change something in the future and prevent your app from working.
- 72,599
- 10
- 41
- 46
-
From what I understand, WINE has stabilized significantly over the last year, so this may not be as much of an issue any more. – Joel Coehoorn Oct 14 '08 at 18:18
-
Yes, they have taken the plunge and released a stable version called Wine 1.0 – Johan Bresler Oct 14 '08 at 18:24
-
not as much as packaging Wine, but link with it and deploy ELF executables, not EXE files. – Javier Oct 14 '08 at 18:32
-
Javier: this is not necessary, there is no real gain to doing that, performance or otherwise. – niXar Nov 03 '08 at 14:27
-
Alternately test against a particular build of Wine and certify against that. It seems to be what most software vendors do. – Adam Hawes Feb 04 '09 at 04:45
Yes it would be a good idea. All that can help communication between the worlds of Linux and Windows is a plus. It would be even better if you can have your code compile natively in Linux.
- 1,048
- 8
- 10
-
I'll have to use Lazarus for that (native compile) which is a bit of work initially. Our market is very cost sensitive over here and it may help sales. – Johan Bresler Oct 14 '08 at 18:22
You should list Wine as a supported platform, say which version of Wine you've tested with, and ask to get added to the list of apps that support wine at http://wiki.winehq.org/AppsThatSupportWine
Personally, I'd love to see apps available that are 'pre'-crossplatform like you've described.
@Mark's answer is also a good idea: distributing a statically-linked edition of Wine, while it would make your product bigger, would ensure that it will run, even if a newer edition exists that breaks something (I'm reminded of places that ship their 'own' JRE to ensure their tool runs correctly).
Maybe there should be a move made in the Wine community to have "made for Wine" stickers/logos available?
I would post a notice that your application has been certified to work with WINE version whatever, and that it may or may not work with other versions of WINE. You should consider testing your application with the beta and rc versions of wine to ensure they will remain compatible during release cycles.
It is simple enough to sandbox you WINE installations.
Getting your application to build with Free Pascal and Lazarus would be a huge gain on Linux systems, at the cost of some pain to you.
- 699,552
- 132
- 1,235
- 1,283
IF you application runs in Wine, can you not try compiling it natively and linking against the winelib?
- 5,359
- 1
- 19
- 29