File: modes.inc

package info (click to toggle)
critcl 3.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,680 kB
  • sloc: ansic: 41,058; tcl: 12,090; sh: 7,230; pascal: 3,456; asm: 3,058; ada: 1,681; cpp: 1,001; cs: 879; makefile: 333; perl: 104; xml: 95; f90: 10
file content (36 lines) | stat: -rw-r--r-- 1,076 bytes parent folder | download
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

CriTcl can be used in three different modes of operation, called

[list_begin enumerated]
[enum] [term {Compile & Run}], and
[enum] [term {Generate Package}]
[enum] [term {Generate TEA Package}]
[list_end]

[term {Compile & Run}] was the original mode and is the default for
[manpage {critcl_pkg}].  Collects the C fragments from the
[vset critcl_script], builds them as needed, and caches the results to
improve load times later.

[para]

The second mode, [term {Generate Package}], was introduced to enable
the creation of (prebuilt) deliverable packages which do not depend on
the existence of a build system, i.e. C compiler, on the target
machine.

This was originally done through the experimental [cmd Critbind] tool,
and is now handled by the [manpage {CriTcl Application}], also named
[cmd critcl].

[para]

Newly introduced with CriTcl version 3 is
[term {Generate TEA Package}]. This mode constructs a directory
hierarchy from the package which can later be built like a regular TEA
package, i.e. using

[example {
	.../configure --prefix ...
	make all isntall
}]