[Lazarus] Value of the $fpcversion - FPC 2.6.0

Marcos Douglas md at delfire.net
Fri Aug 12 19:11:20 CEST 2011


On Fri, Aug 12, 2011 at 2:07 PM, Vincent Snijders
<vincent.snijders at gmail.com> wrote:
> 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.

But he wants to write the fpc.cfg file... with macros.

Marcos Douglas




More information about the Lazarus mailing list