File: b_critcl.inc

package info (click to toggle)
tcllib 2.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 83,560 kB
  • sloc: tcl: 306,798; ansic: 14,272; sh: 3,035; xml: 1,766; yacc: 1,157; pascal: 881; makefile: 124; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (54 lines) | stat: -rw-r--r-- 1,554 bytes parent folder | download | duplicates (2)
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

While the majority of Tcllib consists of packages written in pure Tcl
a number of packages also have [term accelerators] associated with them.

[para] These are [syscmd critcl]-based C packages whose use will boost
       the performance of the packages using them.

While they are built by default on Unix (see [emph {make install}]),
they are not required, they are [emph optional].

[para] When building the accelerators the normally optional dependency
       on [syscmd critcl] becomes required.

If they are built according to the instructions below then they will
also be installed as well.

[para] To build and install Tcllib with the accelerators in a
       Unix-like environment invoke:

[example {
  ./configure
  make
  # or
  make install
  # or
  make install-binaries
}]

[para] The underlying tool is [file sak.tcl] in the toplevel directory
       of Tcllib and the [cmd {make install-binaries}] target is just
       a wrapper around

[example {
  ./sak.tcl critcl
}]

[para] Therefore in a Windows environment instead invoke

[example {
  ./sak.tcl critcl
  ./installer.tcl
}]

from within a DOS window, i.e. [syscmd cmd.exe].

[para] [emph Beware] that the directory tree generated by this command
       sequence differs from the directory tree generated by
       [cmd {make install}] and variants.

[para] [cmd {make install}] generates two package directories, one for
       Tcllib, the other for Tcllibc.

[para] The above sequence on the other hand places Tcllibc into a
       sub-directory of the Tcllib package directory.