Recent

Author Topic: Go from 2.0.6 to today version ...  (Read 1734 times)

lgrfbs

  • Jr. Member
  • **
  • Posts: 77
    • My CV page (On Swedish only)
Go from 2.0.6 to today version ...
« on: December 18, 2024, 03:40:37 pm »
Hi, I have some stupid questions.
Sitting with a Lazarus 2.0.6 today and some ongoing projects, will I need to customize the program code?

Can I have Lazarus 2.0.6 and the new one in different folders side by side?

What is better in new Lazarus? (the download is in progress)
OS : Win 10 64bit Home * Win 7 64bit Professional
Lazarus 1.8.4 r57972 FPC 3.0.4 i386-win32-win32/win64
Delphi 7.0 (Build 4.453)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10788
  • Debugger - SynEdit - and more
    • wiki
Re: Go from 2.0.6 to today version ...
« Reply #1 on: December 18, 2024, 04:07:29 pm »
On Windows, the installer has a checkbox "secondary install".

You can then install into a new directory, like c:\lazarus3_6 or c:\lazarus4rc

It will then ask for a "config folder", where you select an empty folder, e.g. c:\lazarus3_6\config
or c:\config_for_lazarus3_6


This install will then be independent.

Before opening a project, make a backup, as the IDE may change it.

Or make a copy, using "publish project" in your Lazarus 2.0.6 install.



I don't know wich version of fpc came with Laz 2.0.6

So you may need to look at
https://wiki.freepascal.org/User_Changes_3.2.2
to see if changes are needed, and what they might be.

Similar for differences in Lazarus (look at sections about compatibility)
https://wiki.freepascal.org/Lazarus_3.0_release_notes

lgrfbs

  • Jr. Member
  • **
  • Posts: 77
    • My CV page (On Swedish only)
Re: Go from 2.0.6 to today version ...
« Reply #2 on: December 18, 2024, 04:16:25 pm »
Thank you for the detailed reply.
OS : Win 10 64bit Home * Win 7 64bit Professional
Lazarus 1.8.4 r57972 FPC 3.0.4 i386-win32-win32/win64
Delphi 7.0 (Build 4.453)

lgrfbs

  • Jr. Member
  • **
  • Posts: 77
    • My CV page (On Swedish only)
Re: Go from 2.0.6 to today version ...
« Reply #3 on: December 19, 2024, 07:11:59 pm »
Please look at the attachment (didn't figure out how to put the picture in the post) which choice is the one I should choose ?
I don't really understand what Lazarus wants me to decide.
OS : Win 10 64bit Home * Win 7 64bit Professional
Lazarus 1.8.4 r57972 FPC 3.0.4 i386-win32-win32/win64
Delphi 7.0 (Build 4.453)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10788
  • Debugger - SynEdit - and more
    • wiki
Re: Go from 2.0.6 to today version ...
« Reply #4 on: December 19, 2024, 07:23:29 pm »
"Dwarf-3" is best in your case.

They will all work, but in the other variants, ansistrings and/or sets may shown as pchar/int.

The options is important for people who do cross-OS debugging. Or have very special needs to use gdb based debugging (which in most cases is of a lesser quality). gdb may fare better with the dwarf-2 variants. (Well, if generated by fpc).

In the project options, use the "save as default compiler opts" checkbox (at the bottom) to make dwarf-3 a preset.


dsiders

  • Hero Member
  • *****
  • Posts: 1336
Re: Go from 2.0.6 to today version ...
« Reply #5 on: December 19, 2024, 07:26:30 pm »
Please look at the attachment (didn't figure out how to put the picture in the post) which choice is the one I should choose ?
I don't really understand what Lazarus wants me to decide.

Perhaps this page will make it clearer (I hope).

https://wiki.freepascal.org/Debugger_Setup
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

lgrfbs

  • Jr. Member
  • **
  • Posts: 77
    • My CV page (On Swedish only)
Re: Go from 2.0.6 to today version ...
« Reply #6 on: December 19, 2024, 07:35:02 pm »
Thanks, now I can probably start exploring Lazarus 3.6.
Thanks for your help
OS : Win 10 64bit Home * Win 7 64bit Professional
Lazarus 1.8.4 r57972 FPC 3.0.4 i386-win32-win32/win64
Delphi 7.0 (Build 4.453)

 

TinyPortal © 2005-2018