本来想在Windows下安装的, 不过看了下官网首页, 似乎是不支持Windows的…
It runs on the following platforms: X86/Linux, AMD64/Linux, ARM/Linux, ARM64/Linux, PPC32/Linux, PPC64/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux, MIPS64/Linux, X86/Solaris, AMD64/Solaris, ARM/Android (2.3.x and later), ARM64/Android, X86/Android (4.0 and later), MIPS32/Android, X86/Darwin and AMD64/Darwin (Mac OS X 10.12).
Google到了一份教程, 同时看到官网写到了版本号是valgrind-3.14.0
, 于是猜测这个应该是最新版的.
既然不支持Windows, 那就在子系统装吧!(子系统教程此处)
1 | wget ftp://sourceware.org/pub/valgrind/valgrind-3.14.0.tar.bz2 |
参考资料: