Developming a cross platform application with Free Pascal/Lazarus is easy with the help of
VirtualBox.
You can install several guest OSes thru VirtualBox and install Lazarus on each. I for one use it to develop in Windows and Linux cross platform applications.