On 11.02.2012 10:30, Ludo Brands wrote:
#!/bin/sh
~/wherever/we/installed/fpc -n
@~/wherever/we/installed/fpc.cfg $* which should instruct our
fpc to ignore any other fpc.cfg, use our own, and get any
other arguments passed to the script.
Then assign this script as the compiler in Lazarus?!?!
(I suppose this might not work as Lazarus might be looking
for other files in the compiler path!??!)
The script still picks up 2.4.4 but the idea is good. This works:
#!/bin/sh
~/wherever/we/installed/compiler/ppc386 -n @~/wherever/we/installed/fpc.cfg
$*
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 $*
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal