valgrind相关

  • valgrind安装方法

  1. 安装,prefix选项是为了非root用户的安装
    ./configure --prefix=$HOME/valgrind
    make
    make install

     

  2. 配置
    step 1:修改~/.bash_profile
                export PATH=$HOME/valgrind/bin:$PATH
    step 2:执行source ~/.bash_profile
    step 3:valgrind --version 正确输出版本号即可

     

posted on 2017-07-05 10:46  bestan  阅读(108)  评论(0)    收藏  举报