ifpc-3.0.2 -V (return code: 1)
Error : Missing source file
ifpc 1.3
Run pascal source files as scripts.
Normal usage is to add to a program source file a first line
("shebang") "#!/usr/bin/ifpc".
Then you can execute the source directly in the terminal/console.
ifpc -h
Print this help message and exit.
ifpc -v
Print version and exit.
ifpc [compiler options] <source file> [program parameters]
Compiles source and runs program.
Source is compared with the cache. If cache is not valid then
source is copied to cache with the shebang line commented and
cached source is compiled.
If compilation fails the fpc output is written to stdout and
ifpc exits with error code 1.
If compilation was successful the program is executed.
If the compiler options contains -B the program is always
compiled.
If the environment option INSTANTFPCOPTIONS is set it is
passed to the compiler as first parameters.
ifpc --get-cache
Prints current cache directory and exit.
Options:
--set-cache=<path to cache>
Set the cache to be used. Otherwise using environment variable
INSTANTFPCCACHE.
--compiler=<path to compiler>
Normally fpc is searched in PATH and used as compiler.
--skip-run
Do not execute the program. Useful to test if script compiles.
You probably want to combine it with -B.
-B
Always recompile.
ifpc-3.0.2 -h (return code: 0)
ifpc 1.3
Run pascal source files as scripts.
Normal usage is to add to a program source file a first line
("shebang") "#!/usr/bin/ifpc".
Then you can execute the source directly in the terminal/console.
ifpc -h
Print this help message and exit.
ifpc -v
Print version and exit.
ifpc [compiler options] <source file> [program parameters]
Compiles source and runs program.
Source is compared with the cache. If cache is not valid then
source is copied to cache with the shebang line commented and
cached source is compiled.
If compilation fails the fpc output is written to stdout and
ifpc exits with error code 1.
If compilation was successful the program is executed.
If the compiler options contains -B the program is always
compiled.
If the environment option INSTANTFPCOPTIONS is set it is
passed to the compiler as first parameters.
ifpc --get-cache
Prints current cache directory and exit.
Options:
--set-cache=<path to cache>
Set the cache to be used. Otherwise using environment variable
INSTANTFPCCACHE.
--compiler=<path to compiler>
Normally fpc is searched in PATH and used as compiler.
--skip-run
Do not execute the program. Useful to test if script compiles.
You probably want to combine it with -B.
-B
Always recompile.