[fpc-pascal] FPC run (run program after compile)
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Jan 16 21:35:03 CET 2017
On Mon, 16 Jan 2017 13:15:40 -0700
"Lars" <noreply at z505.com> wrote:
>[...]
> Does instantfpc make it mandatory that you put this at the top of every
> source file:
> > #!/usr/local/bin/fpc.d/3.0.0/instantfpc --set-cache=./
No.
That's only needed if you want to run the Pascal file directly:
./project1.pas
> fpcrun would not require this as it just compiles normally...
>
> However making fpcrun.exe (trivial) would duplicate what instantfpc
> already kind of sort of does, so I do not want fpc to ship two executables
> that do the same thing (or similar)...
fpc has a much slower startup time than instantfpc.
That's why instantfpc is good for running Pascal scripts.
Mattias
More information about the fpc-pascal
mailing list