http://qs321.pair.com?node_id=893245


in reply to Make Perl use real malloc

To pass defines the the C compiler rather than the configuration system, use

sh Configure -Accflags="-D... -D..."

Note that one of Configure's prompts asks what allocator you want to use. Wouldn't that be a better way to go?

But I thought valgrind worked with the default configuration on linux?

Good luck!