This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Is -lmcheck thread-safe in glibc 2.0.7 on Linux 2.2x?


> Do I do this when compiling glibc, or compiling my program?  If it's for when I
> compile my program, does it work for new/delete in C++ the way -lmcheck does?

You need to do nothing special when compiling -- just export
MALLOC_CHECK_=1 at runtime in the environment.

This will work for new/delete just like for -lmcheck.

Regards,
Wolfram.
-- 
`Surf the sea, not double-u three...'
wmglo@dent.med.uni-muenchen.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]