This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: boehm-gc: Length of .comm "_C" [[ problem found, how do I fix it? ]]


Adam Megacz wrote:

>I did a gcc -E, grabbed the output, and then just started deleting
>stuff off the end until it compiled (binary search). The critical line
>is:
>
>     GC_API CRITICAL_SECTION GC_allocate_ml;
>

Are you build the collector statically?

 From the GC docs:

"Clients may need to define GC_NOT_DLL before including gc.h, if the
collector was built as a static library (as it normally is in the
absence of thread support)."

regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]