On Mon, 25 Apr 2011 10:24:58 +0200 "Ludo Brands" <ludo.bra...@free.fr> wrote:
> > One solution: > > PATH=YourDirectory:$PATH; script.pas > > I prefer to keep the PATH intact. I'll use: > bash -c "PATH=YourDirectory:$PATH; script.pas" That's the same. To change the PATH you must use export PATH= in bash. > > Another solution: > > A parameter could be added to instantfpc to specify the compiler. > > Would be the most elegant solution. I understand the "search in the > directory of calling program first" is not very Linux though. I added the option --compiler=. It's already in the fpc version of instantfpc. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal