Showing posts from October, 2016

How I use Linux to write software for multiple target platforms

This article has everything to do everything with Wine - a pure magic that makes it possible for native Windows executables to run on POSIX compilant operating systems like Linux, MacOS or BSD. Just if you don't know about Wine yet, read about it: FAQ - WineHQ Wiki Wine on Wikipedia In short: wine runs windows programs on Linux, MacOS and BSD, and it does not use virtualization or any sort of emulation.  If you cannot or do not want to target Linux but you are targeting Windows, the least you can do it to make it wine compatible.  If your Windows software works under wine, I will pay for i t to use it on Linux.  As far as Linux users are concerned, you already are targeting them too, when you remember about wine. While I do not know much about popularity of it on MacOS or BSD, I dare to claim that it is truly widely used by Linux desktop users. Also, it probably is most tested and most stable with Linux, although theoretically i

Delphi VCL/FMX for Linux before the official platform support

There was a time when Borland approached Linux platform in a Delphi's "clone" called Kylix . This product eventually reached its end of life after the last release of Kylix 3 on August 2002. Currently in the era of Delphi XE with Firemonkey, we can finally target more platforms than Windows. However, Linux is not yet among those targets. We now can officially see the support for Linux server in the roadmap , but no mention about the Linux desktop development so far. This article will show you that you can quite easily target Linux desktop users already now, not only with Firemonkey, but even with VCL, so from most recent Delphi XE versions all the way back to probably Delphi 3.  This article will cover: Wine - running Windows apps on Linux, BSD, Solaris and Mac without VM or emulator Pre-Firemonkey cross platform software with Delphi VCL Firemonkey applications tailored for Wine Code snippets Wine - running Windows apps on Linux, BSD, Solaris and Mac with

Lazarus development for Ubuntu Phone

This post will cover: Why Lazarus Installing Lazarus IDE on the phone Using phone-installed Lazarus over SSH Device-specific aspects of developing software with Lazarus Native execution on the Ubuntu phone Software publishing and distribution Appendix: tools and scripts but just before all this, here is a 30 min video I recorded especially to go with this post: And these are earlier attempts, where I actually ran lazarus inside a headless X server in a container with an openbox window manager and accessed via VNC. Yes, it was a bit of an overkill, but you gotta start somewhere, and at least I made a progress by now already: Why Lazarus Most of people when they hear "Lazarus" they have no idea what that is. Then they hear "Free Pascal" and they think/say: "Pascal?? Someone is still using this? I learnt it at junior high..." Well, they probably have vague memory of Borland Turbo Pascal, an rather ancient compiler crafted for