I'm using ifc 6.0.1. It seems that the default setup will link dynamically to certain Intel libraries (for example libcxa), and statically to others.
There exists the -i_dynamic option to link dynamically to ALL the Intel libraries, and -static to link statically with EVERY library. Is there any way to link statically with all the Intel libraries, but dynamically with the standard system libraries? This would obviously be very useful for compiling executables to run on machines without ifc installed, whilst still keeping the binary size down. NAG f95 has the option -unsharedf95 for this.
At the moment, I achieve the results I want by the dubious tactic of just hiding libcxa.so from the compiler, so it is forced to link with the static version!
Thanks in advance for any help.