[fpc-pascal] FPC run (run program after compile)
Lars
noreply at z505.com
Mon Jan 16 21:21:29 CET 2017
On Mon, January 16, 2017 3:59 am, Sven Barth wrote:
> Am 16.01.2017 08:07 schrieb "Lars" <noreply at z505.com>:
>
>>
>> Is there a way to compile a program with fpc at the command line and
>> run it right after?
>>
>> Something like
>> fpc run project1.pas -Fu../
>
> No, FPC is a compiler, not a "runner" or debugger. That would even be one
> of the few points where patches would *not* be welcome.
>
fpcrun.exe is an alternative to "fpc run"
fpcrun.exe is trivial, and I can copy it into my fpc directory.. but
wondered if others needed it. But I don't want to duplicate what
instantfpc does... so might be better to modify instantfpc. Still,
fpcrun.exe would be trivial to make so that is still tempting... as
instantfpc may require adding a parameter like Mattias was saying, whereas
fpcrun.exe would require no parameters.
More information about the fpc-pascal
mailing list