[Lazarus] Using different FPC versions
Marco van de Voort
marcov at stack.nl
Tue Feb 11 15:10:51 CET 2014
On Mon, Feb 10, 2014 at 06:36:35PM +0000, Mark Morgan Lloyd wrote:
> > /usr/local/lib/fpc/$(FPCVer)/fpcsrc
> >
> > The installers use the FPCVer macro since several versions.
>
> Thanks for that. So is this a fairly accurate description of what
> happens on e.g. x86:
>
> * If -V isn't specified, fpc runs ppc386.
>
> * If -Vx.y.z is specified, fpc runs ppc386-x.y.z.
It's more like
fpc "knows" what arch it is, and the default name is the name for that arch.
(e.g. ppc386)
Then -P is evaluated and that name is changed to match that arch.
Then -V is evaluated and appends - + Ãargumen to -V to that name.
> * In either case, the IDE queries the ppc386 version using -iV.
That is wrong, it should query fpc for that.
More information about the Lazarus
mailing list