[Gc] Problem when linking..

Rex Dieter rdieter at math.unl.edu
Fri Mar 17 14:45:16 PST 2006

Renaud Dubois wrote:

> I have some problems to link my program with gc.$ make
> $ make
> gcc -DDEBUG -DGARBAGE_COLLECTOR  -lgc   -c -o module1.o module1.c
> gcc: -lgc: linker input file unused because linking not done
> gcc -DDEBUG -DGARBAGE_COLLECTOR  -lgc -o module1 module1.o

Put -lgc at the end.

-- Rex

More information about the Gc mailing list