小编bre*_*ass的帖子

MacOS Valgrind 替代品?

我正在运行 MacOS Big Sur 并尝试安装valgrind以进行作业。

brew install valgrind 当前不起作用,从 tar.bz2 发行版安装也不起作用。

运行./configure(根据自述文件说明)在最后返回:

checking for a supported OS... ok (darwin20.1.0)
checking for the kernel version... unsupported (20.1.0)
configure: error: Valgrind works on Darwin 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x and 17.x (Mac OS X 10.6/7/8/9/10/11 and macOS 10.12/13)
Run Code Online (Sandbox Code Playgroud)

从这一点来看,似乎valgrind在最近的几个 MacOS 版本中不起作用。

是否有当前 MacOS 版本的替代方案,或者这是我在硬盘驱动器上为 Linux 创建分区的好时机?或者我在安装时遗漏了什么?

c macos valgrind memory-leaks macos-big-sur

6
推荐指数
1
解决办法
4252
查看次数

标签 统计

c ×1

macos ×1

macos-big-sur ×1

memory-leaks ×1

valgrind ×1