This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Is -lmcheck thread-safe in glibc 2.0.7 on Linux 2.2x?
- To: george@moberg.com
- Subject: Re: Is -lmcheck thread-safe in glibc 2.0.7 on Linux 2.2x?
- From: Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
- Date: 9 Jul 1999 14:25:55 -0000
- CC: libc-alpha@sourceware.cygnus.com
- References: <XFMail.990709094456.george@moberg.com>
> 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