File: README.install

package info (click to toggle)
memchan 2.2.1-6
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 2,984 kB
  • ctags: 625
  • sloc: ansic: 3,556; sh: 990; tcl: 725; makefile: 234
file content (62 lines) | stat: -rw-r--r-- 2,035 bytes parent folder | download | duplicates (4)
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
55
56
57
58
59
60
61
62

This document describes to compile and install memchan on various
systems.

UNIX
====

There are 2 sets of files for building memchan on Unix-like system.

1)	The most recent set is called the 'TEA' buildsystem and all
	relevant files (configure, Makefile.in, ...) reside in the
	toplevel directory of the memchan source distribution.

	Use this set when compiling memchan against a Tcl core of
	version 8.2 or higher.

2)	The older set has no specific name and resides in the 'unix'
	subdirectory of the memchan source distribution.

	Use this set when compiling memchan against a Tcl core less
	than 8.2, but greater or equal to 8.0.

	Versions of tthe tcl core below version 8.0 of the core are not
	supported.


The standard usage of both sets is identical:

1)	Switch into the directory containing the set.
2)	Execute the 'configure' script to configure the distribution
3)	Call the 'make' command with either no target or the target
	'all' to compile memchan.
4)	Execute 'make install' to install the generated binaries.

WIN*
====

People having a cygwin environment and a VC++ compile can use the TEA
build system in the toplevel directory to compile memchan (provided
that a tcl core of version 8.2 or higher is used). It will be
necessary to set CC=cl to enforce the usage of the MS VC++ compiler.

For all other situations there are three makefiles for windows, all
residing in the subdirectory "win" of the memchan distribution.

1)	makefile.vc	Use this with MS VC++ 6 IDE.
2)	makefile.vc5	Use this with MS VC++ 5 IDE.
3)	Makefile.gnu	Use this with the cygwin gcc compiler.

Adapting memchan to the configuration of the system it is built on is
done by manually editing the relevant makefile and then executing
'nmake' (or 'gmake' in case of (3)) for that makefile.

The makefiles contain instructions on how to adapt them.


MAC
===

It is currently not known how to compile memchan on a Mac. People who
do so are asked to provide feedback and possibly project files, etc.,
whatever they used to perform the compilation.