]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | Copyright Rene Rivera 2006. | |
3 | Distributed under the Boost Software License, Version 1.0. | |
4 | (See accompanying file LICENSE_1_0.txt or copy at | |
5 | http://www.boost.org/LICENSE_1_0.txt) | |
6 | */ | |
7 | ||
8 | #include "jam.h" | |
9 | ||
10 | #ifdef OPT_BOEHM_GC | |
11 | ||
12 | /* Compile the Boehm GC as one big chunk of code. It's much easier | |
13 | this way, than trying to make radical changes to the bjam build | |
14 | scripts. */ | |
15 | ||
16 | #define ATOMIC_UNCOLLECTABLE | |
17 | #define NO_EXECUTE_PERMISSION | |
18 | #define ALL_INTERIOR_POINTERS | |
19 | ||
20 | #define LARGE_CONFIG | |
21 | /* | |
22 | #define NO_SIGNALS | |
23 | #define SILENT | |
24 | */ | |
25 | #ifndef GC_DEBUG | |
26 | #define NO_DEBUGGING | |
27 | #endif | |
28 | ||
29 | #ifdef __GLIBC__ | |
30 | #define __USE_GNU | |
31 | #endif | |
32 | ||
33 | #include "boehm_gc/reclaim.c" | |
34 | #include "boehm_gc/allchblk.c" | |
35 | #include "boehm_gc/misc.c" | |
36 | #include "boehm_gc/alloc.c" | |
37 | #include "boehm_gc/mach_dep.c" | |
38 | #include "boehm_gc/os_dep.c" | |
39 | #include "boehm_gc/mark_rts.c" | |
40 | #include "boehm_gc/headers.c" | |
41 | #include "boehm_gc/mark.c" | |
42 | #include "boehm_gc/obj_map.c" | |
43 | #include "boehm_gc/pcr_interface.c" | |
44 | #include "boehm_gc/blacklst.c" | |
45 | #include "boehm_gc/new_hblk.c" | |
46 | #include "boehm_gc/real_malloc.c" | |
47 | #include "boehm_gc/dyn_load.c" | |
48 | #include "boehm_gc/dbg_mlc.c" | |
49 | #include "boehm_gc/malloc.c" | |
50 | #include "boehm_gc/stubborn.c" | |
51 | #include "boehm_gc/checksums.c" | |
52 | #include "boehm_gc/pthread_support.c" | |
53 | #include "boehm_gc/pthread_stop_world.c" | |
54 | #include "boehm_gc/darwin_stop_world.c" | |
55 | #include "boehm_gc/typd_mlc.c" | |
56 | #include "boehm_gc/ptr_chck.c" | |
57 | #include "boehm_gc/mallocx.c" | |
58 | #include "boehm_gc/gcj_mlc.c" | |
59 | #include "boehm_gc/specific.c" | |
60 | #include "boehm_gc/gc_dlopen.c" | |
61 | #include "boehm_gc/backgraph.c" | |
62 | #include "boehm_gc/win32_threads.c" | |
63 | ||
64 | /* Needs to be last. */ | |
65 | #include "boehm_gc/finalize.c" | |
66 | ||
67 | #elif defined(OPT_DUMA) | |
68 | ||
69 | #ifdef OS_NT | |
70 | #define WIN32 | |
71 | #endif | |
72 | #include "duma/duma.c" | |
73 | #include "duma/print.c" | |
74 | ||
75 | #endif |