[Lazarus] Using different FPC versions
Michael Van Canneyt
michael at freepascal.org
Tue Feb 11 15:53:59 CET 2014
On Tue, 11 Feb 2014, Mattias Gaertner wrote:
> On Tue, 11 Feb 2014 15:31:25 +0100 (CET)
> Michael Van Canneyt <michael at freepascal.org> wrote:
>
>>
>>
>> On Tue, 11 Feb 2014, Mattias Gaertner wrote:
>>
>>> On Tue, 11 Feb 2014 15:10:51 +0100
>>> Marco van de Voort <marcov at stack.nl> wrote:
>>>
>>>> [...]
>>>>> * In either case, the IDE queries the ppc386 version using -iV.
>>>>
>>>> That is wrong, it should query fpc for that.
>>>
>>> When is that wrong?
>>
>> For one thing:
>>
>> When the architecture-specific compiler has a different version
>> than the 'default' one, the results may differ...
>
> Yes.
> A {$IFDEF VER2_6_2} depends on the ppcxxx version, does it not?
Yes, definitely.
So for the use of macros you'll need the "backend" (if we can use such word) version.
Michael.
More information about the Lazarus
mailing list