[fpc-pascal] Re: RE : Re: RE : FPCUp FPC/Lazarus installer/updater: first Linux/Windows version released
Sven Barth
pascaldragon at googlemail.com
Sat Feb 11 14:11:09 CET 2012
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
More information about the fpc-pascal
mailing list