On MAC OSX I link with
At runtime it seems to expect
but I had expected it would require
However, there is versioned and a nonversioned variants:
Have I misunderstood something?
It's been a while since I looked at this, but I believe that if you look at libcilkrts.dylib in an editor, you'll find that it is a linker script that pulls in libcilkrts.5.dylib. Unfortunately I don't have a Mac handy to check this.
To us it does not seem like linker script.
I guess my main point is linking with cilk is poorly documented. Yes, you can figure it it out and it is not too complicated but it would be nice with some official documentation.
Btw I really like cilk. And have written a quite bit code using it.
Can you try to load compiler environment before compiling your code as follows? The compiler driver should be automatically inserting the required linker flag, so users do not have to do it manually if environment variables are properly defined.
> source $TOP_DIR/bin/compilervars.sh intel64
$TOP_DIR is the top compiler installation directory.
I got my problem solved so that is fine. I seem to have gotten confirmed that things as I guessed they are.
I do not understand the purpose of the last reply. In any case I hate all those magic automatic stuff. You never knows how things interact with each other. Since we are selling software then we really wants to know exactly what is going on. So we want to be able set up the build environment ourselves so with 110% control over what is going.