fpc/utils/instantfpc
tom_at_work acbc94e0fd - initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support

todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support

git-svn-id: branches/targetandroid@21061 -
2012-04-26 09:36:42 +00:00
..
examples * Removed executable flag from source files. 2011-12-19 17:40:02 +00:00
fpmake.pp * enabled for AIX 2012-04-11 18:07:23 +00:00
instantfpc.lpi instantfpc: compiler output: replace cache file name with source file name 2011-09-28 14:32:34 +00:00
instantfpc.pas instantfpc: compiler output: replace cache file name with source file name 2011-09-28 14:32:34 +00:00
instantfptools.pas * fix passing of only one parameter on non unix platforms. Mantis #21630 2012-04-25 17:21:16 +00:00
Makefile - initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development. 2012-04-26 09:36:42 +00:00
Makefile.fpc * Trunk version to 2.7.1 2011-08-03 13:59:33 +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.