Forum > General

Write ones, Compile anywhere in Linux...

(1/3) > >>

Fred vS:
Hello.
Im very impressed by Lazarus.
I write sharewares for Linux and Windows.
Usually i develop in Ubuntu-Linux and compile the source in Linux, then i reboot in Windows and re-compile the same source to have the exe program for Windows.
Yesterday i have installed Lazarus for Windows in Linux via Wine.
And it works perfectly, i can compile the source with Lazarus-Wine, without problems. So i don't need to reboot in Windows to have a Windows exe program.
I can cross compile in Linux !

Whaouw, Lazarus is very powerfull... ;D
  

motaz:
I need to do that too, is it easy?
how can I install it in Wine? I'm using Ubuntu 9.10

Dibo:
There is many tutorials how to do cross compiling (compiling exe application on linux etc) but I always fail with configure it.
But I found the best way for me. Linux ubuntu is my root system, so I installed virtualbox and created clear virtual systems with lazarus only. I can install as many systems as I need and I don't need reboot main system. So I have windows XP, windows 7 32bit and 64 bit, xubuntu 32/64 bit with GTK interface, kubuntu 32/64 bit with QT interface etc... Each system is as one file, so I can easily manage this or just delete file if I don't need X system anymore. I can compile, run and test application and I'm sure it works on 100%. I keep all virtual machines on my old 80 GB hard disk, so free space it's not a problem. Each system have git client and update project sources from my git server. This is my version of "cross compiling" and I like it :P

Fred vS:
@ Motaz.
It is hyper simple.
-1 Install Wine (Windows emulator) on your Linux system.
-2 Download the install-Windows-Lazarus-FPC.exe file.
-3 Execute that install-Windows-Lazarus-FPC.exe (dubble click on icon). After install a new icon is added in the Application shortcut (wine>programs>Lazarus).
-4 Go to Applications-Wine-Programs-Lazarus and load >Lazarus for Windows.

Thats all folks.  ;D

motaz:
I've removed the old version of Wine and installed the latest one (Beta)
and Lazarus windows executable is installed successfully. This is a big step.
but when I add LazReport and recompile Lazarus, it takes long time, it is hanging, I think.
Does it re-compiler successfully in Wine? I mean Lazarus

Navigation

[0] Message Index

[#] Next page

Go to full version