[Lazarus] custom output filename when rebuilding Lazarus IDE

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Dec 1 14:18:34 CET 2009


On Tue, 01 Dec 2009 14:54:30 +0200
Graeme Geldenhuys <graeme at mastermaths.co.za> wrote:

> Mattias Gaertner wrote:
> > 
> > Why not use a symlink?
> > /opt/lazarus-stable -> /opt/lazarus
> 
> I don't understand... or you don't understand my use-case. :) This is
> what I do about once a week.... in order
> 
> 
>   $ cd /opt/lazarus
>   $ git checkout upstream     // now inside clean "trunk" branch
>   $ git pull                  // get latest Trunk and Fixes branch
>   $ make clean; make all;     // I actually do this from in Lazarus IDE
>   $ mv lazarus lazarus-unstable
> 
> Now I have Trunk (unstable) executable
> 
>   $ git checkout fixes_0.9.28
>   $ make clean; make all;
>   $ mv lazarus lazarus-0.9.28
> 
> 
> I have two icons on my desktop for each of the 'lazarus-xxx' versions (I
> don't use startlazarus) and have the correct '--pcp=xxx' parameter setup.
> 
> See why I want to pass in a option to generate an alternative
> executable, instead of the default 'lazarus'. If I don't do a rename
> between compiles, the second compile will override the first ones
> executable.
> 
> I can't see how symlinks will help in this case?

True.

This way you save some disk space, but you have to rebuilt everything
on every switch. I don't see much gain in changing the output file
of lazarus.

 
>[...]

Mattias




More information about the Lazarus mailing list