[fpc-pascal] Any command line interpreters for Free Pascal?
nc-gaertnma at netcologne.de
Sat Oct 15 19:05:13 CEST 2011
Tomas Hajny <XHajT03 at hajny.biz> hat am 15. Oktober 2011 um 10:19 geschrieben:
> On Sat, October 15, 2011 00:43, Andrew Pennebaker wrote:
> > Thanks ik. Merf, it appears fpc can't compile when a shebang is added. In
> > future versions, can fpc treat shebangs as comments so that instantfpc
> > code
> > could be compiled like normal Free Pascal code?
> While I agree with others suggesting that you try to use FPC in a way
> which it has not been designed for, there is probably a fairly simple
> answer for your question (not requiring you to create special scripts or
> makefiles, using sed, etc.). I have no experience with instantfpc myself,
> but looking at the Wiki page, it seems that it may be used also just for
> compilation of the source code if you always invoke instantfpc for
> compilation (with the right parameters, especially --skip-run) instead of
> using FPC directly. Again, not that I would consider it a very efficient
> or reasonable approach, but if you need to do this for whatever reason, it
> should apparently address your need.
Yes, instantfpc has quickly become more flexible and more comfortable.
You can now use it on Linux, BSD, OS X, Windows. You can run pascal programs as
web script similar to php scripts. You can compile and debug instantfpc programs
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal