]> gcc.gnu.org Git - gcc.git/blame - boehm-gc/README.QUICK
* fix-header.c (main): Initialize cpplib.
[gcc.git] / boehm-gc / README.QUICK
CommitLineData
73ffefd0 1Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
20bbd3cd
TT
2Copyright (c) 1991-1995 by Xerox Corporation. All rights reserved.
3Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
4Copyright (c) 1999 by Hewlett-Packard. All rights reserved.
73ffefd0
TT
5
6THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
7OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
8
9Permission is hereby granted to use or copy this program
10for any purpose, provided the above notices are retained on all copies.
11Permission to modify the code and to distribute modified code is granted,
12provided the above notices are retained, and a notice that the code was
13modified is included with the above copyright notice.
14
15
16For more details and the names of other contributors, see the
17README file and gc.h. This file describes typical use of
18the collector on a machine that is already supported.
19
20INSTALLATION:
21Under UN*X, type "make test". Under OS/2 or Windows NT, copy the
22appropriate makefile to MAKEFILE, read it, and type "nmake test".
23Read the machine specific README if one exists. The only way to
24develop code with the collector for Windows 3.1 is to develop under
25Windows NT, and then to use win32S.
26
27If you wish to use the cord (structured string) library type
28"make cords". (This requires an ANSI C compiler. You may need
29to redefine CC in the Makefile.)
30
31If you wish to use the collector from C++, type
32"make c++". These add further files to gc.a and to the include
33subdirectory. See cord/cord.h and gc_c++.h.
34
35TYPICAL USE:
36Include "gc.h" from this directory. Link against the appropriate library
37("gc.a" under UN*X). Replace calls to malloc by calls to GC_MALLOC,
38and calls to realloc by calls to GC_REALLOC. If the object is known
39to never contain pointers, use GC_MALLOC_ATOMIC instead of
40GC_MALLOC.
41
42Define GC_DEBUG before including gc.h for additional checking.
43
This page took 0.095655 seconds and 5 git commands to generate.