I am on Mac OS X using codeblocks 10.05
I downloaded Valgrind, and extracted a folder. I am completely lost from there, and have no idea how to build it.
I do no
Use brew
: brew install valgrind
Here's what worked on my mac (10.6). Double-check you have the latest version (right now, 3.7.0), then change into the uncompressed directory
cd /users/(insert username here)/downloads/valgrind-3.7.0
I suggest you do as another posted and read the readme.
nano README
Commence the build; /usr/local
is the place on the filesystem that the program will be installed to. There are many arguments like prefix
that are available to customize the installation to your particular system if it doesn't work by default. Normally just using ./configure
works perfectly well though.
./configure --prefix=/usr/local
make
sudo make install
Or you could probably get it from fink or macports or homebrew.