Is there a way to install Valgrind on Catalina?

后端 未结 4 1051
盖世英雄少女心
盖世英雄少女心 2021-02-05 08:10

Is there a way to install Valgrind on Catalina and have it run properly? If so, I would very much appreciate a step-by-step process.

I tried installing Valgrind with htt

4条回答
  •  盖世英雄少女心
    2021-02-05 08:53

    Works amazingly!! see https://github.com/LouisBrunner/valgrind-macos/issues/5.

    Not Homebrew, you need to compile it from source, but it's not so difficult.

    1. git clone https://github.com/LouisBrunner/valgrind-macos.git
    2. cd valgrind
    3. sudo ./autogen.sh
    4. sudo ./configure --prefix=/where/you/want/it/installed --enable-only64bit
    5. copy the [contents][1] to ./coregrind/m_mach/mach_basics.c
    6. sudo make 
    7. sudo make install
    

    enjoy!

提交回复
热议问题