~ubuntu-branches/ubuntu/quantal/libgc/quantal

« back to all changes in this revision

Viewing changes to README.QUICK

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2011-02-19 12:19:56 UTC
  • mfrom: (1.3.2 upstream) (0.1.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20110219121956-67rb69xlt5nud3v2
Tags: 1:7.1-5
Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
INSTALLATION:
28
28
Under UN*X, Linux:
29
29
Alternative 1 (the old way): type "make test" in this directory.
30
 
        Link against gc.a.
 
30
        Link against gc.a.  With the most recent GC distributions
 
31
        you may have to copy Makefile.direct to Makefile first.
31
32
 
32
33
Alternative 2 (the new way): type
33
34
        "./configure --prefix=<dir>; make; make check; make install".
34
35
        Link against <dir>/lib/libgc.a or <dir>/lib/libgc.so.
35
36
        See README.autoconf for details
36
37
 
37
 
Under OS/2 or Windows 95, 98, Me, NT, or 2000:
 
38
Under Windows 95, 98, Me, NT, or 2000:
38
39
copy the appropriate makefile to MAKEFILE, read it, and type "nmake test".
39
40
(Under Windows, this assumes you have Microsoft command-line tools
40
 
installed, and have DOS configured with enough environment space to run them.)
 
41
installed, and suitably configured.)
41
42
Read the machine specific README in the doc directory if one exists.
42
 
The only way to develop code with the collector for Windows 3.1 is
43
 
to develop under Windows NT or 95+, and then to use win32S.
44
 
 
45
 
If you need thread support, you will need to either follow the special
46
 
platform-dependent instructions (win32), or add a suitable define
47
 
option as described in Makefile.
48
 
 
49
 
If you wish to use the cord (structured string) library, type
50
 
"make cords". (This requires an ANSI C compiler.  You may need
51
 
to redefine CC in the Makefile. The CORD_printf implementation in
52
 
cordprnt.c is known to be less than perfectly portable.  The rest
53
 
of the package should still work.)
54
 
 
55
 
If you wish to use the collector from C++, type
56
 
"make c++".  These add further files to gc.a and to the include
57
 
subdirectory.  See cord/cord.h and include/gc_cpp.h.
 
43
 
 
44
If you need thread support, you will need to follow the special
 
45
platform-dependent instructions (win32), or define GC_THREADS
 
46
as described in Makefile (Makefile.direct), or possibly use
 
47
--enable-threads=posix when running the configure script.
 
48
 
 
49
If you wish to use the cord (structured string) library with the stand-alone
 
50
Makefile.direct, type "make cords", after copying to "Makefile".
 
51
(This requires an ANSI C compiler.  You may
 
52
need to redefine CC in the Makefile. The CORD_printf implementation in
 
53
cordprnt.c is known to be less than perfectly portable.  The rest of the
 
54
package should still work.)
 
55
 
 
56
If you wish to use the collector from C++, type "make c++", or use
 
57
--enable-cplusplus with the configure script.   With Makefile.direct,
 
58
hese add further files to gc.a and to the include subdirectory.  With the
 
59
alternat build process,this generates libgccpp.
 
60
See cord/cord.h and include/gc_cpp.h.
58
61
 
59
62
TYPICAL USE:
60
63
Include "gc.h" from the include subdirectory.  Link against the
67
70
 
68
71
More documentation on the collector interface can be found at
69
72
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gcinterface.html,
70
 
in doc/README, and in include/gc.h .
 
73
in doc/README and other files in the doc directory, and in include/gc.h .
71
74
 
72
75
WARNINGS:
73
76