Makefiles / GC garbage collector

Started by kobold, January 07, 2006, 07:24:28 PM

Previous topic - Next topic

kobold

Hi!

I tried to compile the gc garbage collector, but i don't know where to start, and how should i compile that? (no ppj file  :wink: )
There are many great tools and packages out there, and compiling under linux would be no problem (some experiences, tons of manuals, makefiles), but windows?

andre104



JohnF

Quote from: "kobold"Yes, this one: http://www.hpl.hp.com/personal/Hans_Boehm/gc/

I made it work with lcc-win32, it should not be a problem making it work with PellesC.

edit: Try using the code from my converted version here.

http://www.johnfindlay.plus.com/lcc-win32/libs/gclib.zip

John

andre104

i once sucessfully build it using the MinGW tools
not sure if can build it using Pelles C

TimoVJL

Try this, if you don't want to make it with New Project:

Extract gclib.zip from John site to gclib directory.
Open alloc.c with PellesC IDE.
Try to compile alloc.c
For "New default project", select "Win32 static library (LIB)".
With "Add files to project", add all .c files from that directory.
Rename project alloc.lib to gclib.lib
Make that project.
Close that project.
Rename alloc.ppj to gclib.ppj

This attachment is done by that way.
May the source be with you

kobold

Hm... after a some tests i got the lib.
But a test program for leak detection doesn't print out any (warning) message  :cry:
I will study the doc's...