Posts

Showing posts from October, 2016

How I use Linux to write software for multiple target platforms

Image
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 WikiWine 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 ihttps://youtu.be/iD-tcMAkc3gt 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 it can be supported by any POSIX c…

Delphi VCL/FMX for Linux before the official platform support

Image
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 emulatorPre-Firemonkey cross platform software with Delphi VCLFiremonkey applications tailored for WineCode snippets

Wine - running Windows apps on Linux, BSD, Solaris and Mac without VM or emulator

So, just …

Lazarus development for Ubuntu Phone

Image
This post will cover:
Why LazarusInstalling Lazarus IDE on the phoneUsing phone-installed Lazarus over SSHDevice-specific aspects of developing software with LazarusNative execution on the Ubuntu phoneSoftware publishing and distributionAppendix: tools and scriptsbut 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 DOS (Disk Operating System), of which the l…