File: ifpc.1

package info (click to toggle)
fpc 3.2.0%2Bdfsg-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports
  • size: 338,552 kB
  • sloc: pascal: 3,794,737; xml: 191,997; ansic: 9,637; asm: 8,482; java: 5,346; sh: 4,664; yacc: 3,751; makefile: 2,688; lex: 2,538; javascript: 2,375; sql: 929; php: 473; cpp: 145; perl: 134; sed: 132; csh: 34; tcl: 7
file content (54 lines) | stat: -rw-r--r-- 1,383 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.TH ifpc 1 "18 May 2013" "Free Pascal" "Instant pascal code interpreter"
.SH NAME
ifpc \- The Free Pascal Interpreter.

.SH SYNOPSIS

.B ifpc
[\fI\-h\fR] [\fI\-v\fR] [\fIcompiler options\fR] <\fIsource file\fR>
[\fIprogram parameters\fR]

.SH DESCRIPTION

.B ifpc
This is a pascal code interpreter program. It compiles source and runs the
 generated program.

Source is compared with the cache. If cache is not valid then 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 and exit code 1
is returned
If compilation was successful the program is executed.
If the compiler options contains \-B the program is always recompiled.
If the environment option INSTANTFPCOPTIONS is set it is passed to compiler as
the first parameters.

.SH USAGE

.B ifpc
takes the following arguments:
.TP
.B \-h
Prints this help message and exit.
.TP
.B \-v
Prints version and exit.
.TP
.B \-\-get\-cache
Prints current cache directory and exit.
.TP
.B \-\-set\-cache=<path to cache>
Set the cache to be used. Otherwise using environment variable INSTANTFPCCACHE.
.TP
.B \-\-compiler=<path to compiler>
Normally fpc is searched in PATH and used as compiler.
.TP
.B \-\-skip\-run
Do not execute the program. Useful to test if script compiles
.TP
.B \-B
Always recompile.

.SH SEE ALSO
.IP
.BR  fpc (1)