In a shared object, I can make my Fortran routines unavailable from outside using -fvisibility=hidden
.
In C/C++ you can override this setting in your routines by void __attribute__ ((visibility("default"))) x () {...}
as described here: http://portal.nacad.ufrj.br/online/intel/compiler_c/common/core/GUID-091C387B-E637-4115-BFC9-1874DD56F50E.htm
Is there a similar way to override the setting in Intel Fortran, such that I can decide which modules or routines in the shared object that can be called from the outside
DLLEXPORT
attribute in Intel Fortran for Windows? That means control which symbols are exported into a shared library?