Recent

Poll

What OS do you prefer when you develop with Lazarus ?

Windows 7
18 (30%)
Windows Vista
1 (1.7%)
Windows XP
9 (15%)
Windows Other
0 (0%)
Linux
24 (40%)
Mac OSX
4 (6.7%)
Other OS
1 (1.7%)
I develop in many systems and i do not prefer one for Lazarus...
3 (5%)

Total Members Voted: 59

Author Topic: What OS do you prefer when you develop with Lazarus ?  (Read 32857 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
What OS do you prefer when you develop with Lazarus ?
« on: November 09, 2012, 01:35:04 pm »
Hello everybody.

Maybe you have a multi-boot system, maybe not...

I have a multi-boot system with Windows 7, Ubuntu and Mac OSX.

But when i have to develop with Lazarus, i prefer to use Linux Ubuntu.
The Linux compilation is much faster than with Windows 7  (OSX is slowest).

Because all OS are installed with the same version of Lazarus, no problem to compile later the working code on the OS i want.

And you, what do you use ?
« Last Edit: November 09, 2012, 02:20:55 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: Witch OS do you use to develop with Lazarus ?
« Reply #1 on: November 09, 2012, 01:54:51 pm »
WinMe
Suse Linux 10.0
Win7

Bart

IPguy

  • Sr. Member
  • ****
  • Posts: 385
Re: Witch OS do you use to develop with Lazarus ?
« Reply #2 on: November 09, 2012, 01:58:12 pm »
Multi-selection of the options might be nice, as some of the respondents use multiple systems.

I'm still using my Vista system as I have not yet migrated my dev env to my W7 system (lazy, I suspect).  I also have a few linux VMs and I've played with Laz on them, but have not gotten serious about developing in those env's as yet.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: Witch OS do you use to develop with Lazarus ?
« Reply #3 on: November 09, 2012, 02:02:38 pm »
Quote
Multi-selection of the options might be nice, as some of the respondents use multiple systems.

OK, done.

PS : Multi-selection or Sub-options are not allowed with pools... :-X
« Last Edit: November 09, 2012, 02:13:01 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: Witch OS do you use to develop with Lazarus ?
« Reply #4 on: November 09, 2012, 02:18:55 pm »
I'm using Code Typhon installed on linux mint (based on ubuntu). Linux is my main system for 4 years, but CodeTyphon has build-in cross compile solution so my targets are linux and windows users

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #5 on: November 09, 2012, 02:32:14 pm »
@ Dibo:

I have a multi-boot system mostly because of cross-compil.
I always loose when i try to cross-compile my apps with Lazarus 1. rc 2.

But you are taking about Code Typhon and  a build-in cross compile solution.

Is it working well ? And can it cross compile from Linux 64 to Linux 32, to Windows 64, to Windows 32, to Mac OSX, to Android ?

If it is true, it is a revolution for me (no need to re-boot every time to recompile in the OS i want)
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #6 on: November 09, 2012, 03:46:06 pm »
Until I met CodeTyphon I used virtualbox guests for each target OS with Lazarus installed. It was tiring.

CodeTyphon was revolution for me too :P . Cross-compile can't be simpler. You just run CodeTyphon studio, check target OS which you want an CT automatically compile and configure free pascal compilers. Then run lazarus (modified by CT), open your project and change target  OS (or better - create build modes for each OS). That's all

I compile my project with one click for Linux 32/64 bit (GTK and QT) and Windows 32/64 bit. Never tested for MacOS

If you install CT on Ubuntu 64 bit, you probably will have problems with compile to Linux 32 bit (because ubuntu have different libs path). I wrote solution for this here:
http://www.pilotlogic.com/sitejoom/index.php/forum/cross-build-development/2230-can-t-cross-compile-from-linux-64-bit-to-linux-32?start=6#2398

Another issue with CT installed on linux is that CT Studio has problems with creating cross compiler for android, but CT Team is working on it, so it should be fixed soon. I reported this here:
http://www.pilotlogic.com/sitejoom/index.php/forum/android/2245-can-t-build-android-cross-element-on-linux

CodeTyphon is fantastic for cross-compile. Too bad that Lazarus don't have similar solution

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #7 on: November 09, 2012, 03:52:29 pm »
Until I met CodeTyphon I used virtualbox guests for each target OS with Lazarus installed. It was tiring.

Me too  :)

I prefer to use virtual machines on Windows 7 64-bit, the distribution I use is ScientifLinux x86_x64 with CodeTyphon I can compile win32, win64, linux32, Linux64, linuxARM (Raspbian) without problem. I have tried unsuccessfully Android yet, but I think the only way for MacOSX is through a Mac, and for that matter there are ways to virtualize Mac OSX in unofficial ways  >:D.

If I need to restart, just restart the virtual machine.

regards
« Last Edit: November 09, 2012, 04:13:49 pm by fredycc »

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #8 on: November 09, 2012, 04:28:41 pm »
Thanks for answers.

Can i install Code Typhoon together with Lazarus 1.2 without destroying my Lazarus 1 RC 2 installation (who is installed, re-compiled (coz i change somethings in sources) and works perfectly.) ?
« Last Edit: November 09, 2012, 04:35:05 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #9 on: November 09, 2012, 04:56:32 pm »
Quote
Mac OSX in unofficial way

Ok, i do my coming out : i have OSX snow Leopard installed on a USB stick.  :-X


But, trust me, i use it only for compile Lazarus code developed on Linux. And i want to be legal, so a cross-compil for OSX should be the top.  O:-)

By the way, the unique useful thing i found in OSX and not in other OS is the 2 options in task bar : Hide Program and Hide all other...

But that is a other story...
« Last Edit: November 09, 2012, 05:20:10 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #10 on: November 09, 2012, 05:25:21 pm »
Can i install Code Typhoon together with Lazarus 1.2 without destroying my Lazarus 1 RC 2 installation (who is installed, re-compiled (coz i change somethings in sources) and works perfectly.) ?

CodeTyphon is uninstalling free pascal from system and probably lazarus too (I don't have "normal" lazarus installation so I don't know, I'm compiling lazarus from SVN in my home directory). If FPC version has no matter for you (CT has FPC 2.7.1 from svn), then after installing CT, you can go to your Lazarus, run it. Lazarus should throw wizard that he lost path to free pascal, so select path to FPC from CT (should be in /usr/lib/codetyphon/fpc). In this way, I'm using Lazarus from CT and Lazarus from SVN
« Last Edit: November 09, 2012, 05:27:23 pm by Dibo »

garlar27

  • Hero Member
  • *****
  • Posts: 652
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #11 on: November 09, 2012, 05:57:03 pm »
I have
   W7 64 and Ubuntu 12.10 64 at home.
   XP 32 and Ubuntu 12.10 32 at work.

I prefer Linux due to the multiple desktops (I can open and compile and do test with other projects without closing the one I'm working on -I know I can do that on windows too but you have less confusion on Linux) and the font visualization is better.

In other words: I feel more comfortable working on Linux.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #12 on: November 09, 2012, 06:15:20 pm »
@ Dibo : CodeTyphon is downloaded and i gonna try it tonight  :-\
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #13 on: November 10, 2012, 04:57:03 am »
I prefer linux because of the speed to start a program, therefore making complex building (using make) faster. Even though the linking is slower due to the use of GNU linker (I want ELF internal linker so bad!) but since I upgraded my system it's no longer a problem. And with it's symlink feature, changing compiler version to use is a matter of changing the symlink.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: What OS do you prefer when you develop with Lazarus ?
« Reply #14 on: November 10, 2012, 05:25:02 am »
@ Dibo : Whaow, Typhon is marvelous  ;D

And, thank to you and your "How to install Linux 32 bit cross-compil on a 64 bit Linux system"
(explanation very clear but lot of work, it should be a good idea to make a script to create the links to the lib missing, but, ok, it is done and it works  ;D)

Now, perfect, Lazarus with CodeTyphon is just like i wanted : a real cross-platform compiler. (and in Pascal, s'il vous plait, the best programing language for ever)

I have compiled without problems, from Lazarus Linux 64 bits :

- A exe Win 32
- A exe Win 64
- A exec Linux 32
- And, of course, a exec Linux 64
- Android not tested yet

Super.

And i do not loose my "old" version of Lazarus 1 RC2, it is still working (only change the path of fpc)  ;D

Cross-compil for OSX is missing, that is the only sad thing  :-X  :'(

« Last Edit: November 10, 2012, 05:35:53 am by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018