g++ cant compile 32 bit with mudflap
I have a project that for the time being has to be compiled in 32 bit mode. I'm on Ubuntu 11.04 -64 bit and it works fine with the -m32 switch. Now I wanted to debug with the -fmudflap option, but I get a s开发者_开发技巧eries of undefined functions (__real_malloc, __real_calloc, __real_free, etc.). I tested with a trivial hello world program and it works fine in a 64bit compile, but not in 32bit mode. Is there a different library to link besides -lmudflap ?
It sounds like you need to install the 32-bit version of mudflap.
精彩评论