Recent

Author Topic: Upgrade from .24 to .26  (Read 6276 times)

ciuly

  • New Member
  • *
  • Posts: 47
  • Delphi/C# developer
    • Ciuly's Web Corner
Upgrade from .24 to .26
« on: May 30, 2009, 09:42:05 pm »
Hi,

I just decided to upgrade lazarus from .24 to .26.2
is there a special way to do the upgrade considering there are 3rd party components already installed?  Is there anything I need to pay attention to or specifically backup before the upgrade?
I am asking this because I remember have spent quite a lot of time to setup my environment to work including a few rebuilds because of crucial bugfixes I needed but did not want to install the development snapshot.

thanks
freelancer

clauslack

  • Sr. Member
  • ****
  • Posts: 275
Re: Upgrade from .24 to .26
« Reply #1 on: May 30, 2009, 10:27:43 pm »
In my case I delete the lazarus directory, or move to another place. You must recompile all packages that you use from components directory (Lazreport, fpspreadsheet, etc).
May be fix some path (fpc compiler, fpc source) no big problem.

I spent a lot of time in rebuild lazarus IDE, LCL because it includes debug information (-gl), so I made a program for patch all Lazarus's Makefile.
- the rebuild is faster.
- less memory usage.
- lazarus.exe size 10 MB vs 80 MB

If you want I could upload the source.

Regards

cpalx

  • Hero Member
  • *****
  • Posts: 685
Re: Upgrade from .24 to .26
« Reply #2 on: May 30, 2009, 10:34:20 pm »
it will be nice, I am using .27 will it work?

ciuly

  • New Member
  • *
  • Posts: 47
  • Delphi/C# developer
    • Ciuly's Web Corner
Re: Upgrade from .24 to .26
« Reply #3 on: May 30, 2009, 10:38:24 pm »
thanks for sharing your experience :)

ps: I doubt I'll use it since but you could still upload it or make it available somewhere since other people might want to use it ;)
freelancer

clauslack

  • Sr. Member
  • ****
  • Posts: 275
Re: Upgrade from .24 to .26
« Reply #4 on: May 30, 2009, 11:54:20 pm »
Well
I upload this little and quick program for patch the -gl compiler option in Lazarus Makefile.
Is very useful if install new svn lazarus every week.

- the rebuild of Lazarus IDE is faster.
- less memory usage in rebuild.
- lazarus.exe size 10 MB vs 80 MB

This program patch the -gl option for spaces.... In this Makefile:
C:\lazarus\ide\Makefile 
C:\lazarus\ideintf\Makefile
C:\lazarus\lcl\Makefile 
C:\lazarus\lcl\interfaces\win32\Makefile 
C:\lazarus\lcl\interfaces\gtk2\Makefile 

Only works in Windows and Linux (i386) ( Because it uses some search routines in assembler that I used with Delphi 2 years ago)

Regards..

cpalx

  • Hero Member
  • *****
  • Posts: 685
Re: Upgrade from .24 to .26
« Reply #5 on: May 30, 2009, 11:55:19 pm »
thanks, i will test

clauslack

  • Sr. Member
  • ****
  • Posts: 275
Re: Upgrade from .24 to .26
« Reply #6 on: May 31, 2009, 04:55:30 am »
Ok cpalx

Thanks

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Upgrade from .24 to .26
« Reply #7 on: May 31, 2009, 10:07:49 pm »
If you don't want to patch the make file, just do make OPT="-g"

 

TinyPortal © 2005-2018