- removed comment
Hi,
While reviewing some options in my config file I noticed that the -rdynamic gcc option for the linker is applied also to the intel compiler option lists in symfactory. However there seems to have no such an option when using icc or icpc. Wouldn't be better then to pass this option as --export-dynamic directly to the linker ld instead? Maybe as follows:
LDFLAGS = -Wl,--export-dynamic -Wl,-rpath,/path/to/whatever
instead of
LDFLAGS = -rdynamic -Wl,-rpath,/path/to/whatever
Thanks, Bruno.
Keyword:
The intel compilers accept -rdynamic, and although not easy to find in their documentation, it is mentioned at least in one place: https://software.intel.com/sites/products/documentation/doclib/iss/2013/compiler/cpp-lin/
Now, this is not saying that we should not change this. The Intel compiler probably only accepts it for compatibility reasons. I assume you tried to change it and it worked for you?