Linking openmp on Leopard, broken for 64-bit?
By boyfarrell at Thu, Jul 30 2009 2:48am |
Hi folks,
I am encountering a linker error when compiling my openmp xcode project on a new Xeon MacPro compared to when compiling on my MacBook.
I managed to find this that fixed the a part of the linker problem:
http://www.nabble.com/GMP-(libgmp)-busted-under-Leopard--td18076937.html
However, it still doesn't work, and ends with same error,
ld warning: in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib/libgomp.dylib, file is not of required architecture
Surely this should just work! Any ideas on how to fix this? Maybe I should compile my own version rather than use Apple's?
Dan



I have found a work around,
I have found a work around, see here, http://www.macresearch.org/anyone-use-openmp-xcode-and-stock-leopard-install#comment-15502 .
I still don't know what is wrong with my system install or how to fix it! Any ideas would be useful.
Dan