[Lazarus] Using different FPC versions

Sven Barth pascaldragon at googlemail.com
Mon Feb 10 18:42:16 CET 2014


On 10.02.2014 18:26, Mattias Gaertner wrote:
>> I instead propose to have a field next to the compiler path in the IDE
>> options that accepts fpc's -Xp parameter. Xp allows one to specify the
>> relative folder of the actual compiler (ppcxxx) with respect to the fpc
>> executable. That would work well since each ppcxxx's location is fixed
>> with respect to its associated fpc executable.
>
> "fpc -h" does not mention -Xp.

As already said in some other mail in this thread today: fpc specific 
options are only printed in the help screen since 2.7.1 and there it is 
indeed mentioned.

> "fpc -Xpdummy" does not give any error.
> What does it do?

To quote "fpc -h":

 > -Xp<x>     First search for the compiler binary in the directory <x>

Regards,
Sven




More information about the Lazarus mailing list