title: Using valgrind on a Mac
body: <p>I have a piece of c++ code about 600 lines long which currently doesn't run due to seg fault. I have run gdb but it isn't really helping me as I don't know what I am looking for. I have also run valgrind which I have been led to believe is more helpful, but I am working on a mac and valgrind doesn't really work on mac (says so in the warning when I use it, I am running OSX 10.8). I don't have a linux box and so can't run valgrind properly. Is there anyone willing to run my code through valgrind to find the issue, or are there websites that do this?? The reason I ask here is because I have found websites, but because I am using the gmp bignum library, the website just kicks back errors about the library not being there because they don't have it.</p>
  
  <p>Edit: The code is at <a href="http://www.filedropper.com/tammesa7" rel="nofollow">http://www.filedropper.com/tammesa7</a> I shan't post it here as it is long and messy!</p>