What OS do you prefer when you develop with Lazarus ? lazarus / 23-Operating Systems ---------------------------------------------------------------------- Fred vS · 2012-11-09 12:35 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 ? ---------------------------------------------------------------------- Bart · 2012-11-09 12:54 WinMe Suse Linux 10.0 Win7 Bart ---------------------------------------------------------------------- IPguy · 2012-11-09 12:58 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 · 2012-11-09 13:02 QuoteMulti-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... ---------------------------------------------------------------------- Dibo · 2012-11-09 13:18 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 · 2012-11-09 13:32 @ 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) ---------------------------------------------------------------------- Dibo · 2012-11-09 14:46 Until I met CodeTyphon I used virtualbox guests for each target OS with Lazarus installed. It was tiring. CodeTyphon was revolution for me too . 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 · 2012-11-09 14:52 Quote from: Dibo on November 09, 2012, 03:46:06 pmUntil 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  . If I need to restart, just restart the virtual machine. regards ---------------------------------------------------------------------- Fred vS · 2012-11-09 15:28 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.) ? ---------------------------------------------------------------------- Fred vS · 2012-11-09 15:56 QuoteMac OSX in unofficial way Ok, i do my coming out : i have OSX snow Leopard installed on a USB stick.  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.  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... ---------------------------------------------------------------------- Dibo · 2012-11-09 16:25 Quote from: Fred vS on November 09, 2012, 04:28:41 pmCan 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 ---------------------------------------------------------------------- garlar27 · 2012-11-09 16:57 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 · 2012-11-09 17:15 @ Dibo : CodeTyphon is downloaded and i gonna try it tonight ---------------------------------------------------------------------- Leledumbo · 2012-11-10 03:57 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 · 2012-11-10 04:25 @ Dibo : Whaow, Typhon is marvelous  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  ) 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)  Cross-compil for OSX is missing, that is the only sad thing ---------------------------------------------------------------------- Dibo · 2012-11-10 11:53 Nice to hear that ---------------------------------------------------------------------- BigChimp · 2012-11-10 11:59 Now I'd suggest some virtual machines instead of multiboot so that you can test your generated applications in their own environments ---------------------------------------------------------------------- Fred vS · 2012-11-10 12:49 @ BigChimp QuoteNow I'd suggest some virtual machines instead Of course i use magic VirtualBox. But i work on a little Acer One without Virtualizer CPU and so the boot  of system in VirtualBox is very, very slow. But it works and now with the new release of VirtualBoX_Host add in, i can use the USB slot for USB HD sharing (more easy coz using sharing folders is difficult to install for some systems). But VirtualBox is perfect to test programs. @ Dibo With your tip to install 32 bits lib, i do not even need to use VirtualBox Linux 32, my Ubuntu 64 bits can run 32 bit application. Many thanks. I have got a little problem with Code Typhon. In tab Libraries, a panel shows me lots of (libxxx.so NOT found !!!) I have take a look at fpc.cfg and i change the path of 64 bits libraries, according with my system: In the original fpc.cfg it was : Quote-Fl/usr/lib/gcc/x86_64-linux-gnu/4.2.3 But that folder does not exist in my system ! I change then with the reality of my system: Quote# searchpath for libraries #ifdef cpux86_64 -Fl/usr/lib/x86_64-linux-gnu #endif But when i reload CodeTyphon, i have still the message of NOT found libraries. I have checked if the links of libxxx.so where present and they are... By the way, when compiling and cross-compiling, no problem, everything works perfectly (it is why i do not understand the warning missing libraries). And, one more time, thanks for that revolution ---------------------------------------------------------------------- BigChimp · 2012-11-10 12:58 Quote from: Fred vS on November 10, 2012, 01:49:45 pm@ BigChimp QuoteNow I'd suggest some virtual machines instead Of course i use magic VirtualBox. But i work on a little Acer One without Virtualizer CPU and so the boot  of system in VirtualBox is very, very slow.I understand. ---------------------------------------------------------------------- anis2505 · 2012-11-10 13:35 I used Lazarus with Linux Mint 13 mate (main OS of my pc) but it was very annoying the toolbar was full of lazarus windows, and mean-time I used lazarus on windows 7 in VirtualBox and it was good. For now after format I am only using windows 7 and it is great for Lazarus ---------------------------------------------------------------------- Dibo · 2012-11-10 13:46 Quote from: anis2505 on November 10, 2012, 02:35:07 pmI used Lazarus with Linux Mint 13 mate (main OS of my pc) but it was very annoying the toolbar was full of lazarus windows Lazarus has "anchor-docking" package which dock windows into one (like in Delphi 20XX) ---------------------------------------------------------------------- Leledumbo · 2012-11-10 14:24 QuoteI used Lazarus with Linux Mint 13 mate (main OS of my pc) but it was very annoying the toolbar was full of lazarus windowsDid you mean taskbar? Check Tools->Options->Environment->Window->Show single button in Taskbar ---------------------------------------------------------------------- anis2505 · 2012-11-10 14:26 Quote from: Dibo on November 10, 2012, 02:46:03 pmQuote from: anis2505 on November 10, 2012, 02:35:07 pmI used Lazarus with Linux Mint 13 mate (main OS of my pc) but it was very annoying the toolbar was full of lazarus windows Lazarus has "anchor-docking" package which dock windows into one (like in Delphi 20XX) I know but I don't like docking on linux it's not fully supported on linux, I faced some problems with docking I can't remember what was it. ---------------------------------------------------------------------- anis2505 · 2012-11-10 14:30 Quote from: Leledumbo on November 10, 2012, 03:24:28 pmQuoteI used Lazarus with Linux Mint 13 mate (main OS of my pc) but it was very annoying the toolbar was full of lazarus windowsDid you mean taskbar? Check Tools->Options->Environment->Window->Show single button in Taskbar Exactly the taskbar I am a French speaker  That is exaclty what I meant. Thanks glad to know that ---------------------------------------------------------------------- Leledumbo · 2012-11-10 14:31 QuoteI know but I don't like docking on linux it's not fully supported on linux, I faced some problems with docking I can't remember what was it.How can you conclude that? Using easy docking, I can achieve the attached layout without problems. ---------------------------------------------------------------------- Fred vS · 2012-11-10 14:51 QuoteLazarus has "anchor-docking" package which dock windows into one How can i install this package ? ---------------------------------------------------------------------- Dibo · 2012-11-10 16:08 Go to package -> configure installed packages. From right menu find AnchorDockingDsgn and double click on it to add. Then save and rebuild IDE. BTW: There is also EasyDockMgrDsgn, but I preffer AnchorDockingDsgn ---------------------------------------------------------------------- Fred vS · 2012-11-10 20:13 @ Dibo : AnchorDockingDsgn  installed... Whaouw, why is it not installed by default ? ---------------------------------------------------------------------- Dibo · 2012-11-10 23:21 I asked myself the same question Tip: To save state of docked windows go to: Tools -> Save window layout as default. Now lazarus will remember your configuration ---------------------------------------------------------------------- Leledumbo · 2012-11-11 03:44 QuoteWhaouw, why is it not installed by default ?Because there are plenty of choices, currently there are at least 4 docking packages: anchor docking, easy docking (both shipped with lazarus), glass docking (by codetyphon) and kzdesktop (by RaphaelZ). ---------------------------------------------------------------------- Fred vS · 2012-11-11 11:48 QuoteTools -> Save window layout as default That is the tip of the day ! Many thanks [Edit] Is it possible to anchor the Object Inspector panel ? I have try to insert it but, no luck... ---------------------------------------------------------------------- Dibo · 2012-11-11 12:43 Yes, just drop object inspector window by clicking on "bevel frame" at the top (where small "x" is) drop this window on code editor ---------------------------------------------------------------------- Fred vS · 2012-11-11 17:22 Indeed. Superb. ---------------------------------------------------------------------- Zoran · 2012-11-11 21:30 Leledumbo, how do you get the nice toolbar above source editor, as we can see in your screenshot? ---------------------------------------------------------------------- howardpc · 2012-11-11 23:14 By installing the editortoolbar package in the IDE (currently at version 0.4). Package -> Install/Uninstall Packages... ---------------------------------------------------------------------- Fred vS · 2012-11-12 01:45 This monday 12/11/2012 the number of Unix users (17) = Windows users (17)  Yes, i know, we are 7722 Total Members in Lazarus forum and more than 30000 estimated Lazarus users. ---------------------------------------------------------------------- Zoran · 2012-11-12 17:21 Quote from: howardpc on November 12, 2012, 12:14:49 amBy installing the editortoolbar package in the IDE (currently at version 0.4). Package -> Install/Uninstall Packages... Thank you! I like it. ---------------------------------------------------------------------- fabienwang · 2012-11-12 18:45 Quote from: Fred vS on November 12, 2012, 02:45:29 amThis monday 12/11/2012 then number of Unix users (17) = Windows users (17)  Yes, i know, we are 7722 Total Members in Lazarus forum and more than 30000 estimated Lazarus users.  I use ArchLinux, so we beat the windows users !!! hehe ---------------------------------------------------------------------- Graeme · 2012-11-12 23:19 Quote from: Fred vS on November 11, 2012, 06:22:28 pmIndeed. Superb. If you want better looking docking windows [my personal opinion], apply a small patch I created. It paints the docking drag handles in a much more subtle way. Patch is included in Mantis. http://bugs.freepascal.org/view.php?id=22900 Here is a screenshot - also in the Mantis report: http://bugs.freepascal.org/file_download.php?file_id=17015&type=bug ---------------------------------------------------------------------- snorkel · 2012-11-13 03:25 Quote from: Graeme on November 13, 2012, 12:19:02 amQuote from: Fred vS on November 11, 2012, 06:22:28 pmIndeed. Superb. If you want better looking docking windows [my personal opinion], apply a small patch I created. It paints the docking drag handles in a much more subtle way. Patch is included in Mantis. http://bugs.freepascal.org/view.php?id=22900 Here is a screenshot - also in the Mantis report: http://bugs.freepascal.org/file_download.php?file_id=17015&type=bug That's very nice, thanks for sharing Graeme :-) ---------------------------------------------------------------------- snorkel · 2012-11-13 03:34 I am currently doing most of my Lazarus work on Windows 7, but thats only because I am porting as much of my Delphi projects as I can. There are a couple of third party tools I would love to see on Lazarus such as TMS Software and Trichview/TrichEdit. There is a very old version of trichview but I need the editor portion. I contacted TMS and they are pretty much against Lazarus because they feel we are all to cheap to pay for quality 3rd party controls.  In my opinion as a prior delphi purchaser I would rather donate some of that Delphi license cost to Lazarus and use the rest to get components that I need to save me time.  I don't want to do every thing from scratch.  I don't think Delphi users really understand how good Lazarus really is, and that's something we need to work on. There is no reason why could not be used extensively in corporate enterprise environments.  It amazes me how incredibly stupid some corporate IT shops are....... If we want Lazarus to be really popular we need a vibrant 3rd party component ecosystem so these corp shops will take notice. Just my thoughts on the matter :-)