[Gc] Newbie questions

Lloyd Sargent lloyd at s-squared-ranch.com
Thu Sep 24 18:17:35 PDT 2009


On Sep 24, 2009, at 11:11 AM, Lloyd Sargent wrote:

>
> On Sep 24, 2009, at 10:05 AM, Ivan Maidanski wrote:
>
>> For now, I'd recommend you the following steps:
>> - fetch today's CVS;
>> - enter "bdwgc" dir;
>> - type: gcc -fno-strict-aliasing -Wall -DALL_INTERIOR_POINTERS - 
>> DUSE_MUNMAP -DGC_THREADS -DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK -O2 - 
>> DNO_DEBUGGING -DNDEBUG -I.\include -I.\libatomic_ops-1.2\src -c *.c  
>> *.cpp
>> - type: ar crus libgc.a *.o
>>
>> If you need a debug version, replace "-O2 -DNO_DEBUGGING -DNDEBUG"  
>> with "-g -DGC_ASSERTIONS".
>> If you don't need a multi-threaded lib, remove "-DGC_THREADS - 
>> DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK -I.\libatomic_ops-1.2\src".
>>
>> A bit complicated for a beginner, but are there volunteers to  
>> update the docs and build scripts?
>

Okay, after a false start I manage to get libgc.a built! Haven't had  
time to test it.

I'll sit down tomorrow and build up a CMake script.

Cheers,

Lloyd


More information about the Gc mailing list