I am using Xcode 2.4.1 and gcc4.0 together with icc 9.1.037. I use the openmp feature in icc to compile a C++ dynamic library, which is then linked to a gcc built Obj-C application. It all builds and runs just fine within the Xcode environment, but the built application does not launch when double clicked from the finder in OSX Tiger. The paths to my dynamic libraries are correct. I have narrowed it down to the -openmp linker flag I set in Xcode when I build one of the dynamic libraries. If this is left out and I comment out the openmp pragmas in my code it builds and runs both in Xcode and from the finder, albiet 2 x slower due to the absence of multithreading. Could it be I need to set a path to an intel library somewhere? Or in Xcode the execution variable DYLD_LIBRARY_PATH = /opt/intel/cc/9.1.037/lib is being recognized by Xcode but somehow not being passed on to the built application.
Maybe some Xcode / icc cracks out there have some ideas.