README

Sun, 11 Mar 2007 00:05:36 +0100

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 11 Mar 2007 00:05:36 +0100
changeset 109
96a557abc364
parent 107
da2a985da6ee
permissions
-rw-r--r--

Renamed `prog_execname` `libtu_progname` and added `libtu_progbasename`.

53
f8f9366b359c trunk: changeset 57
tuomov
parents: 36
diff changeset
1
f8f9366b359c trunk: changeset 57
tuomov
parents: 36
diff changeset
2 libtu
f8f9366b359c trunk: changeset 57
tuomov
parents: 36
diff changeset
3
107
da2a985da6ee Clean-up and pending updates
Tuomo Valkonen <tuomov@iki.fi>
parents: 65
diff changeset
4 Copyright (c) Tuomo Valkonen 1999-2007.
53
f8f9366b359c trunk: changeset 57
tuomov
parents: 36
diff changeset
5 <tuomov at iki.fi>
0
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
6
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
7
65
58e382ae97cd trunk: changeset 1368
tuomov
parents: 60
diff changeset
8 Libtu is a small utility library for programs written in C.
58e382ae97cd trunk: changeset 1368
tuomov
parents: 60
diff changeset
9
58e382ae97cd trunk: changeset 1368
tuomov
parents: 60
diff changeset
10 Most of this library may be distributed and modified under either under
58e382ae97cd trunk: changeset 1368
tuomov
parents: 60
diff changeset
11 the Clarified Artistic License or the GNU LGPL, version 2.1 or later,
58e382ae97cd trunk: changeset 1368
tuomov
parents: 60
diff changeset
12 both reproduced in the file LICENSE. The red-black tree code is under
58e382ae97cd trunk: changeset 1368
tuomov
parents: 60
diff changeset
13 the GNU LGPL; see README.rb for details.
0
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
14
3
b1fbfab67908 trunk: changeset 6
tuomov
parents: 0
diff changeset
15 To build the library, first edit system.mk to customize it for your
0
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
16 system if necessary. Then 'make depend && make'.
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
17 To install it run 'make install' (perhaps as root depending on
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
18 where you are installing it).
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
19
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
20 If you want to use it in your programs, you may try to figure out how
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
21 by reading the header files (include/*.h) and test programs (tester*.c).
86b7f6f9c5c0 Tailorization of trunk
tailor@f281.ttorni.ton.tut.fi
parents:
diff changeset
22 Or you could try urging me to write some sort of a manual.
25
9d41e3611050 trunk: changeset 28
tuomov
parents: 3
diff changeset
23
9d41e3611050 trunk: changeset 28
tuomov
parents: 3
diff changeset
24 ---
9d41e3611050 trunk: changeset 28
tuomov
parents: 3
diff changeset
25
9d41e3611050 trunk: changeset 28
tuomov
parents: 3
diff changeset
26 Libtu needs the functions asprintf and vasprintf. These do not
35
5a71d53d0228 trunk: changeset 38
tuomov
parents: 25
diff changeset
27 exist on most platforms. One implementation by Mark Martinec
5a71d53d0228 trunk: changeset 38
tuomov
parents: 25
diff changeset
28 is included in snprintf_2.2/ and is used by default. To use the
5a71d53d0228 trunk: changeset 38
tuomov
parents: 25
diff changeset
29 system's versions of these functions, if available, modify
5a71d53d0228 trunk: changeset 38
tuomov
parents: 25
diff changeset
30 system.mk.
25
9d41e3611050 trunk: changeset 28
tuomov
parents: 3
diff changeset
31
107
da2a985da6ee Clean-up and pending updates
Tuomo Valkonen <tuomov@iki.fi>
parents: 65
diff changeset
32 The implementation of red-black trees is based on that by
da2a985da6ee Clean-up and pending updates
Tuomo Valkonen <tuomov@iki.fi>
parents: 65
diff changeset
33 James S. Plank; see README.rb for details.

mercurial