Recent

Author Topic: How to upgrade Lazarus 0.9.26 + FPC2.2.2 to 0.9.26.3 +FPC 2.2.4 for newbies  (Read 5409 times)

epergola

  • Full Member
  • ***
  • Posts: 157
Well this is what I did.
I hope it helps others and would not cause them problems.
I had installed the Lazarus installer release of 23-March-2009 (version 0.9.26.2, I believe, which also installed FPC 2.2.2.
Now I went to Lazarus snapshots,
ftp://ftp.hu.freepascal.org/pub/lazarus/Lazarus-0.9.26.3-20932-fpc-2.2.4-20090724-win32.exe
Because I (want to) develop for Wince, I also downloaded
ftp://ftp.hu.freepascal.org/pub/lazarus/Lazarus-0.9.27-20932-fpc-2.2.4-20090724-cross-arm-wince-win32.exe.
I ran the 2 installation programs but I got some problems rebuilding Lazarus.
I took the decisive approach:if they don't work, kill them!.
My setup was
C:\LAZARUS.
I deleted C:\LAZARUS\FPC\2.2.2 folder completely (if you like you can rename it).
I went to C:\Documents and Settings\Administrator\Local Settings\Application Data on my PC (that is where Lazarus puts its config files) and deleted the folder LAZARUS (again, you might rename it).
I started lazarus, went to Tools -> Configure "Build Lazarus",
In Advanced Build Options I put every radio-button to Clean+Build,
I checked Clean All and With Packages check-boxes. In Options, I put -g. Left blank the 3 'Target ...'.
Left the default LCL interface to win32/win64
Rebuilt.
It works just fine. There is no need, apparently, to build or rebuild the LCL for Wince. I didn't (and the Builder won't let you anyway).
Now I can trace the code, while runing on the emulator, from inside Lazarus, with break points even inside a custom label component I have created!!
Great stuff.
« Last Edit: July 25, 2009, 05:18:18 am by Paul Ishenin »

 

TinyPortal © 2005-2018