Il 07/05/2018 16:54, Gabor Boros via
Lazarus ha scritto:
Hi All, You might give a look to the way the problem has been solved in fpcup, (orĀ fpcupdeluxe ) making it possible to make different versions of fpc and Lazarus to coexist without going one into the way of the other. E.G. you may have a full tree (fpc+Lazarus) in ~/development/ another one in ~/production and a third one in ~/experiments. The main trick, as far as fpc is concerned, is to have as fpc executable an fpc.sh (a name which is accepted by Lazarus) which sets up whatever is needed. This is a sample of fpc.sh: #!/bin/sh # This script starts the fpc compiler installed by fpcup # and ignores any system-wide fpc.cfg files # Note: maintained by fpcup; do not edit directly, your edits will be lost. /home/colla/development/fpc/bin/x86_64-linux/fpc -n @/home/colla/development/fpc/bin/x86_64-linux/fpc.cfg "$@" Hope that it helps, Giuliano |
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus