在一台电脑上搭建多个Lazarus环境

使用SVN构建Lazarus环境后,如果以前下载安装过Lazarus的话你会发现两个版本的Lazarus起冲突了:包括控件、界面、快捷键、配色等等都是以前装的那种。经过一番搜索,找到这篇文章:http://wiki.lazarus.freepascal.org/Multiple_Lazarus

All IDE options are saved to its config directory:

Operating SystemDefault location for the config directoryLinux, Mac OS X, BSD, other UNIXes~/.lazarusWindows XPC:\Documents and Settings\<User name>\Local Settings\Application Data\lazarusWindows VistaC:\Users\<User name>\AppData\Local\lazarus\按上述所示,无论安装在那个目录的Lazarus都会读取同一个目录的配置文件。不过很幸运,Lazarus还提供了一个指定配置文件位置的参数--primary-config-path,使用方法如下:

lazarus --primary-config-path=d:\fpc\laz_svn\config

posted @ 2012-03-17 19:04  流星无语  阅读(222)  评论(0)    收藏  举报