libmudflap has never worked on Windows. There appear to be two problems: 1) There is a problem with the specs file, and the proper options, such as -- wrap, never get passed to the linker.
2) Dependencies are introduced on mmap, munmap, and kill. The first two Windows supports through a separate interface, but Windows does not have interprocess signals and has nothing similar to kill() outside of raise(). -- Summary: Link fails with -fmudflap on Windows Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libmudflap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aaronavay62 at aaronwl dot com CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18243