[fpc-pascal] Re: RE : Re: RE : FPCUp FPC/Lazarusinstaller/updater: first Linux/Windows version released

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Feb 18 16:28:35 CET 2012


On Sat, 18 Feb 2012 16:14:58 +0100
"Ludo Brands" <ludo.brands at free.fr> wrote:

> > 
> > You can use the "-Xp" option to specify a path for FPC to 
> > search for the 
> > ppc* binaries.
> > 
> > E.g.
> > 
> > #!/bin/sh
> > ~/whereever/we/installed/fpc -n @~/whereever/we/installed/fpc.cfg 
> > -Xp~/whereever/we/installed/compiler $*
> > 
> 
> Tried this and it seemed to work fine, for a while. A nasty side-effect is
> that the ~/whereever/we/installed/compiler dir comes first in looking for
> sources. Encountered the problem with a project that had a unit named
> tokens...

Yes. See Lazarus / View / IDE Internals / About FPC. The last path is
always the one where the compiler is.

Mattias



More information about the fpc-pascal mailing list