[Lazarus] Value of the $fpcversion - FPC 2.6.0

Vincent Snijders vincent.snijders at gmail.com
Fri Aug 12 19:07:37 CEST 2011


2011/8/12 Marcos Douglas <md at delfire.net>:
> On Fri, Aug 12, 2011 at 11:47 AM, silvioprog <silvioprog at gmail.com> wrote:
>>
>> Hi,
>>
>> What the value of the $fpcversion in FPC 2.6.0? Is 2.5.1?
>
> Yep.
>
>> I need to configure my fpc.cfg (I generate this file with ) on Linux,
>> but the value of this directive return 2.5.1, and my dirs are 2.6.0.
>
> I had the same "problem" so, you must to use a hardcode in your fpc.cfg.
>
>> Source code of my script to install the FPC 2.6.0: http://pastebin.com/xhQQ0fSL
>>
>> How to I configure the $fpcversion to return 2.6.0?
>
> I think that is not possible.

You should just ask the fpc executable for the version number.

Vincent




More information about the Lazarus mailing list