[Lazarus] How to use two different versions of FPC

Giuliano Colla giuliano.colla at fastwebnet.it
Thu May 10 14:05:01 CEST 2018


Il 09/05/2018 12:34, Joost van der Sluis via Lazarus ha scritto:
> That's more a hack then a solution

I fail to grasp why startlazarus should be a feature, and fpc.sh should 
be a hack.

Having multiple fpc.cfg files, as it may be required by multiple fpc 
installations requires invoking the compiler with the appropriate 
parameters. A script is just the most comfortable way to achieve this 
result.

Launching an executable via another program or a script which sets up 
the appropriate environment according the user needs is a standard well 
established practice, since the dawn of Unix.

Giuliano




More information about the Lazarus mailing list