[Lazarus] How to use two different versions of FPC

Alfred alfred at consulab.nl
Thu May 10 08:24:47 CEST 2018


************************
That's more a hack then a solution, and the real solution is simple and 
also works outside Lazarus: place the fpc.cfg in ~/experiments/etc, 
~/development/etc etc, as already suggested by Ingo. Or, even better, 
just alongside the compiler-executable. You can call 'fpc -va' to check 
which configuration file is used.
************************

Fpcup(deluxe) uses the fpc.sh - hack to prevent fpc from picking up a 
config that has not been generated by fpcup itself !
That is why the -n switch is used, in combination with @.
Fpcup(deluxe) wants the FPC/Lazarus install to isolate itself in all 
cases.



More information about the Lazarus mailing list