linking error when building Google test on mac (commandline)
At the bottom, you wrote an edit about finding multiple gmock installations on the same computer messing up the include path for the compiler so it was hitting the old, 1.5 32 bit version instead of the right one.
I installed mine via brew; brew install gmock, and it worked and everything-but I'm having the same problem you did. If you could just tell me how to compile it correctly like you mentioned in your post I'd be pleased enough to go and give you some upvotes, or you could just edit the link, and I would read it (please notify me when you do though).
I have read the instructions on the googlemock google code page and what I downloaded in order to try and get things to build against it. I have searched around a lot, and I can't find anything that comes near as close as what you have talked about.
To explain to you what I'm doing, I wrote a very simple test: http://codepad.org/zxBugY0w
And when I tried to compile it with my locally included information I get: http://pastebin.com/fqEZ6zTq