Michael Van Canneyt wrote:

I do this, because lazarus does not - out of the box - support the passing of the version to FPC as in:

fpc -V2.6.4

for instance, the above command will execute the correct binary: ppcx64-2.6.4, as can be seen as:

home: >fpc -V2.6.4 -iV
2.6.4
home: >fpc -V2.7.1 -iV
2.7.1

I guess this can also be solved with the dialog that Mattias mentions,
but I believe that this should in fact be solved at a more fundamental level.

Maybe the lazarus devels are not aware of this -V option. It's not widely used or propagated, after all.

The other issue is how to tell the IDE where the FPC sources are, and to keep everything in step. I normally copy a cleaned version of the sources into e.g. /usr/local/lib/fpc/2.6.2/fpcsrc.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to