Skip to content

Instantly share code, notes, and snippets.

@lldong
Created July 28, 2014 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lldong/ef7da2fce248a0669f79 to your computer and use it in GitHub Desktop.
Save lldong/ef7da2fce248a0669f79 to your computer and use it in GitHub Desktop.
Install valgrind on 10.9
# Make sure I have autoconf and automake both installed.
sudo port -v install automake
sudo port -v install autoconf
# Grab Frederic's patched valgrind on his "homebrew" branch
cd ~/work # My usual project directory
git clone https://github.com/fredericgermain/valgrind/ -b homebrew
cd valgrind
# Because he placed VEX as a git submodule, we have to make sure we clone it too
git submodule init
git submodule update
# With VEX submodule now available, we can compile valgrind
./autogen.sh
./configure
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment