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.
 

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

Reply via email to