On Mon, 17 Feb 2014 12:41:45 +0100 Sven Barth <[email protected]> wrote:
> Am 17.02.2014 12:16 schrieb "Mattias Gaertner" <[email protected]>: > > > What more do you need ? > > > > I'm investigating what Lazarus needs to support to switch fpc versions > > more easily. That's why I'm collecting all the possibilities how people > > install multiple versions of fpc. I'm puzzled of the amount of different > > approaches - I thought two were enough. I wonder if some of them exists > > only because the user did not know the alternatives. > > I can add my own flavor as well. :D > > I have fpc installed in /mnt/data/applications/$FPCVERSION with the usual > dir structure underneath. In ~/.bin I have symlinks for fpc, fpcres, > fpcmake and various ppcXXX. The directory is also in PATH. In ~/.config/fpc > I have various fpc.$FPCVERSION.cfg and ~/.fpc.cfg is a symlink as well. All > these symlinks are updated with a switch-fpc script that gets the version > to symlink to as argument. For Lazarus switching should work without invoking a script or changing a file. Only environment variables and parameters. Mattias _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
