Debian Codegraph @

README.install

raw
1
2 This document describes to compile and install memchan on various
3 systems.
4
5 UNIX
6 ====
7
8 There are 2 sets of files for building memchan on Unix-like system.
9
10 1) The most recent set is called the 'TEA' buildsystem and all
11 relevant files (configure, Makefile.in, ...) reside in the
12 toplevel directory of the memchan source distribution.
13
14 Use this set when compiling memchan against a Tcl core of
15 version 8.2 or higher.
16
17 2) The older set has no specific name and resides in the 'unix'
18 subdirectory of the memchan source distribution.
19
20 Use this set when compiling memchan against a Tcl core less
21 than 8.2, but greater or equal to 8.0.
22
23 Versions of tthe tcl core below version 8.0 of the core are not
24 supported.
25
26
27 The standard usage of both sets is identical:
28
29 1) Switch into the directory containing the set.
30 2) Execute the 'configure' script to configure the distribution
31 3) Call the 'make' command with either no target or the target
32 'all' to compile memchan.
33 4) Execute 'make install' to install the generated binaries.
34
35 WIN*
36 ====
37
38 People having a cygwin environment and a VC++ compile can use the TEA
39 build system in the toplevel directory to compile memchan (provided
40 that a tcl core of version 8.2 or higher is used). It will be
41 necessary to set CC=cl to enforce the usage of the MS VC++ compiler.
42
43 For all other situations there are three makefiles for windows, all
44 residing in the subdirectory "win" of the memchan distribution.
45
46 1) makefile.vc Use this with MS VC++ 6 IDE.
47 2) makefile.vc5 Use this with MS VC++ 5 IDE.
48 3) Makefile.gnu Use this with the cygwin gcc compiler.
49
50 Adapting memchan to the configuration of the system it is built on is
51 done by manually editing the relevant makefile and then executing
52 'nmake' (or 'gmake' in case of (3)) for that makefile.
53
54 The makefiles contain instructions on how to adapt them.
55
56
57 MAC
58 ===
59
60 It is currently not known how to compile memchan on a Mac. People who
61 do so are asked to provide feedback and possibly project files, etc.,
62 whatever they used to perform the compilation.