[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: how to instrument purify for openldap

--On Thursday, December 09, 2004 3:14 PM -0500 Ravi Tetala <rtetala@lucent.com> wrote:


We have a custom backend to openldap (2.1.25) and I'm trying to flush out
memory leaks and would appreciate instructions for instrumenting openldap
libraries with purify. Is it the configure script where the changes need
to be made?

The man page on purify is really quite clear on what you need to do...

    Add the word purify to the beginning of  the  link  line  in
    your Makefile.  For example:

        program: $(OBJS)
                purify [-option ...] $(CC) $(CFLAGS) -o program \
                        $(OBJS) $(LIBS)

This really isn't an OL related question, it is simply a question about whether or not one understands Makefiles.


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html