[Lazarus] Is there a way to choose with fpc to use in lazarus command?

Marcos Douglas md at delfire.net
Sat Sep 25 21:58:53 CEST 2010


2010/9/25 Frank Church <vfclists at gmail.com>:
>
> Is there a way to pass on the version of FPC you want to use with
> startlazarus or lazarus command?

The configuration of Lazarus is created, at the first time, in
C:\Documents and Settings\<username>\Application Data\lazarus\
You can modify these files, manually, or you can use the IDE to modify them.
After, copy this folder to other place and use the parameter
--pcp=<your new config folder> like this (on Windows):

start lazarus --pcp=c:\your_config_folder

> Is there  a way it can be set in the fpc.cfg, and can the fpc.cfg be passed
> to ths lazarus command?

You can use the enviroment variable PPC_CONFIG_PATH to set where is
the fpc.cfg file.

> I have a 2.2.4 from repository and a 2.4.0 svn build and Lazarus is always
> reverting to the 2.2.4 version.

I use FPC 2.5.1 and Laz 0.9.29.

Marcos Douglas




More information about the Lazarus mailing list