[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using ccmalloc



when i used ccmalloc without the .o suffix it linked fine i think (at list
the linker didn't give any warnings that it wasn't working)
The problem is that when i ran the program i got no deferent output, so
the question is how do i actually use ccmalloc to track the memory leaks?

On 7 Aug 1999, Colin Marquardt wrote:

> * Micha Feigin <michf@math.tau.ac.il> writes:
> 
> > How do i use ccmalloc to track memory leaks?
> > I tried to use it as writen in the file USAGE in the docs, on a new with
> > no delete (to see how it works). But i got nothing.
> > I tried:
> > gcc -lg++ -stdc++ -lccmaloc -ldl test.C
> --------------------------^ Typo?
> > gcc -lccmalloc -ldl test.C
> > g++ -lccmalloc -ldl test.C
> > trying -lccmalloc.o or ccmalloc.o BTW gave a massage that the linker
> > couldn't find ccmalloc.o
> 
> Try -L/path/to/ccmalloc 
> 
> Not sure though, but if you have it in an non-standard location...
> 
> -- 
> Colin Marquardt <colin.marquardt@gmx.de>
> 


Reply to: