title: Valgrind error - cannot execute binary file
body: <p>For some reason I can't make <strong>valgrind</strong> work with my <strong>Cocoa</strong> apllication on <strong>OS X 10.6</strong>, compiled with <strong>Apple GCC 4.2.1</strong>... After googling this error I found out that <strong>valgrind</strong> doesn't work with 64-bit executables, however my application and all the frameworks it uses is being compiled with the <strong>-m32</strong> flag and <strong>file</strong> commmand says <strong>./MyAppName: Mach-O executable i386</strong>, <strong>Kernel</strong> is also <strong>i386</strong>.</p>
  
  <p>Can somebody please tell me why won't <strong>valgrind</strong> work then?</p>
  
  <p>By the way, I got <strong>valgrind</strong> from <strong>MacPorts</strong>...</p>