http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47260
--- Comment #1 from Craig Powers <craig.powers at gmail dot com> 2011-01-11 23:12:55 UTC --- I've also tried using dlltool and a .def file to coerce my procedure into being exported, with no luck. Does gfortran not support exporting a function?