File: mem.c

package info (click to toggle)
boost-jam 3.1.16-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 5,012 kB
  • ctags: 6,357
  • sloc: ansic: 40,068; sh: 9,084; cpp: 894; yacc: 456; asm: 353; makefile: 156
file content (75 lines) | stat: -rw-r--r-- 1,963 bytes parent folder | download | duplicates (3)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
Copyright Rene Rivera 2006.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/

#include "jam.h"

#ifdef OPT_BOEHM_GC

    /* Compile the Boehm GC as one big chunk of code. It's much easier
    this way, than trying to make radical changes to the bjam build
    scripts. */

    #define ATOMIC_UNCOLLECTABLE
    #define NO_EXECUTE_PERMISSION
    #define ALL_INTERIOR_POINTERS
    
    #define LARGE_CONFIG
    /*
    #define NO_SIGNALS
    #define SILENT
    */
    #ifndef GC_DEBUG
    #define NO_DEBUGGING
    #endif
    
    #ifdef __GLIBC__
    #define __USE_GNU
    #endif
    
    #include "boehm_gc/reclaim.c"
    #include "boehm_gc/allchblk.c"
    #include "boehm_gc/misc.c"
    #include "boehm_gc/alloc.c"
    #include "boehm_gc/mach_dep.c"
    #include "boehm_gc/os_dep.c"
    #include "boehm_gc/mark_rts.c"
    #include "boehm_gc/headers.c"
    #include "boehm_gc/mark.c"
    #include "boehm_gc/obj_map.c"
    #include "boehm_gc/pcr_interface.c"
    #include "boehm_gc/blacklst.c"
    #include "boehm_gc/new_hblk.c"
    #include "boehm_gc/real_malloc.c"
    #include "boehm_gc/dyn_load.c"
    #include "boehm_gc/dbg_mlc.c"
    #include "boehm_gc/malloc.c"
    #include "boehm_gc/stubborn.c"
    #include "boehm_gc/checksums.c"
    #include "boehm_gc/pthread_support.c"
    #include "boehm_gc/pthread_stop_world.c"
    #include "boehm_gc/darwin_stop_world.c"
    #include "boehm_gc/typd_mlc.c"
    #include "boehm_gc/ptr_chck.c"
    #include "boehm_gc/mallocx.c"
    #include "boehm_gc/gcj_mlc.c"
    #include "boehm_gc/specific.c"
    #include "boehm_gc/gc_dlopen.c"
    #include "boehm_gc/backgraph.c"
    #include "boehm_gc/win32_threads.c"
    
    /* Needs to be last. */
    #include "boehm_gc/finalize.c"

#elif defined(OPT_DUMA)

    #ifdef OS_NT
        #define WIN32
    #endif
    #include "duma/duma.c"
    #include "duma/print.c"

#endif