Forum > Lazarus

Lazarus Release 2.2.2

<< < (2/12) > >>

RayoGlauco:
Many thanks to the lazarus developers!  :)

Martin_fr:

--- Quote from: Zvoni on May 19, 2022, 01:58:19 pm ---I searched a bit, and the main issue (before Laz1.8 ) was SEH-handling, but that was before Laz1.8.
A second main issue was, that cross-compiling from Laz/FPC-64Bit to 32-Bit was buggy

--- End quote ---
SEH is now used by both 32 and 64 FPC for bit Windows.

I am not aware of issues with cross compiling.
There isn't an actual "cross compiler" because of the "Extended" type not existing in 64 bit.
So the "cross" compiler in the Lazarus distribution is actually a normal 32 bit compiler (I.e. the fpc/ppc.exe are 32 bit). So the result should really be the same as if you used the 32bit IDE, because the compiler is the same (it's renamed to fit in as a cross compiler...)

Cross debugging used to be an issue.
But it is no longer if you use the 64 bit IDE.
- The 64bit FpDebug can handle 64 and 32 bit projects.
- GDB can do both do, but needs a helper app (which is part of the setup)

The 32 bit IDE however can only cross debug a 64 bit target when using the gdb debugger.

bobby100:
Is it just me, or there is no way to install over the previous installation so that the configuration (installed components etc.) would be taken over?
I know it needs the IDE to get re-compiled, and that is not a problem to do, but I didn't found any other way to do it except to install every single component again.

I am still at 2.2.0 RC2 because of this - I just do not want to take the risk for my setup to get lost.

Any solution to my problem?

AFFRIZA 亜風実:
Thanks for the Lazarus developers!  O:-)

I'll update real quick.  ;)

Martin_fr:

--- Quote from: bobby100 on May 19, 2022, 05:29:49 pm ---Is it just me, or there is no way to install over the previous installation so that the configuration (installed components etc.) would be taken over?
I know it needs the IDE to get re-compiled, and that is not a problem to do, but I didn't found any other way to do it except to install every single component again.
I am still at 2.2.0 RC2 because of this
--- End quote ---

Normally, there should be no need to reinstall anything.

1) If you choose to uninstall the prior version of Lazarus => The uninstaller has a checkbox, if it should delete configs. => Do not check it.

2) If you installed 3rd party packages, and they are not compatible, well yes, then you need to re-install / update yourself  (but if your current packages are RC compatible, they should be fine)


--- Quote ---- I just do not want to take the risk for my setup to get lost.

--- End quote ---

Your setup is in the "primary config path" => Menu: View > Ide Internals > About IDE
Usually

--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---C:\Users\<<YOUR_NAME>>\AppData\Local\lazarusSo, if you copy that directory, then you have all your settings copied.

There is one optional setup file in your install directory

--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---C:\lazarus\lazarus.cfgIt exists in secondary installations, and has the path to the primary conf dir.

If you have downloaded packages in any other fold, and might need to update them, you can backup them too

OnlinePackageManager downloads are in the Primary Config dir.

If you open a project for testing, you might back it up too. Because the file format for lpi files changed. (Though 2.2 can save the old format too)

So with that you can always restore.
You can even copy your entire install dir. So you can copy it back, rather than doing a new install of the older version.


As for the windows registry. It has no IDE settings.
It only has info for innosetup. So Lazarus is in the list of installed apps, and you can uninstall it from there.
And it has file associations, so you can double click. But a new install leaves them intact.


Note if you put new versions of a 3rd party package in a new folder, the IDE still knows the old folder. It should update this once you open the package from the new location.

<primary conf path>\packagefiles.xml

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version