On Sat, 18 Feb 2012 16:14:58 +0100
"Ludo Brands" <ludo.bra...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to