[Lazarus] RE : language setup /http://bugs.freepascal.org/view.php?id=22574

Ludo Brands ludo.brands at free.fr
Mon Aug 13 11:22:25 CEST 2012


> > This lazset program can then also be used in people's existing svn 
> > update batch files, fpcup, etc, so the main functionality 
> would not be 
> > platform/installer dependent.
> IMHO this lazset is the IDE itself. If the installer creates 2 
> startupmenu entries: one normal, and one with forced setup
> 
Having "lazset"=IDE is indeed the easiest to maintain. But to accomodate 3rd
party setup programs like fpcup, codetyphon(?), it would be nice if the IDE
could be told what the setup params are instead of doing a forced setup.
Compiler, fpc sources, debugger and perhaps language are known by these
installers. Having something like a lazarus --setup="gdb=path-to-gdb
language=the-language fpc=path-to-compiler ..." which sets the corresponding
values in the lazarus configuration (eventually specified with --pcp) and
doesn't launch the ide (returns immediately) would be a good compromise. 

Ludo





More information about the Lazarus mailing list