fpc/utils/instantfpc
marco 5ab703bffd --- Merging r43026 into '.':
U    utils/instantfpc/instantfpc.pas
--- Recording mergeinfo for merge of r43026 into '.':
 U   .
--- Merging r43087 into '.':
U    packages/hash/src/hmac.pp
--- Recording mergeinfo for merge of r43087 into '.':
 G   .
--- Merging r43091 into '.':
U    packages/winunits-base/src/winhttp.pp
--- Recording mergeinfo for merge of r43091 into '.':
 G   .
--- Merging r43095 into '.':
G    packages/winunits-base/src/winhttp.pp
--- Recording mergeinfo for merge of r43095 into '.':
 G   .
--- Merging r43097 into '.':
U    rtl/unix/dl.pp
--- Recording mergeinfo for merge of r43097 into '.':
 G   .
--- Merging r43098 into '.':
G    packages/winunits-base/src/winhttp.pp
--- Recording mergeinfo for merge of r43098 into '.':
 G   .
--- Merging r43117 into '.':
U    packages/chm/src/chmwriter.pas
--- Recording mergeinfo for merge of r43117 into '.':
 G   .

# revisions: 43026,43087,43091,43095,43097,43098,43117

git-svn-id: branches/fixes_3_2@43172 -
2019-10-12 15:24:05 +00:00
..
examples * Removed executable flag from source files. 2011-12-19 17:40:02 +00:00
fpmake.pp Group merge of changes to fpmake.pp for pacakges and utils 2019-02-03 16:51:17 +00:00
instantfpc.lpi instantfpc: version 1.3: compile into temporary directory to avoid clashes in parallel compilations 2013-08-09 12:02:15 +00:00
instantfpc.pas --- Merging r43026 into '.': 2019-10-12 15:24:05 +00:00
instantfptools.pas * Fixed handling of multiple compiler-options within the shebang (like #!/usr/bin/instantfpc -O1 -Ci) 2017-09-14 11:46:23 +00:00
Makefile Update all Makefile's to enable x86_64-haiku target 2019-05-28 22:07:11 +00:00
Makefile.fpc * version to 3.2.0-beta 2018-08-18 15:25:41 +00:00
Makefile.fpc.fpcmake * version to 3.2.0-beta 2018-08-18 15:25:41 +00:00
README.txt

instantfpc
==========

This tool allows to execute pascal programs as unix scripts.
A unix script starts with a shebang #! and the program to execute. For example

#!/usr/bin/env instantfpc
begin
  writeln('It works');
end.

If you save the above file as test.pas and set the execute permission
(chmod a+x) you can execute the script simply with
./test.pas


Installation
============

1. Compile instantfpc.lpi using lazarus, lazbuild or via "fpc instantfpc.lpr"
2. Put the executable "instantfpc" in PATH, for example into
   /usr/bin/instantfpc or ~/bin/instantfpc.

That's all.
Now you can execute pascal programs as scripts.