This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Allow building libgfortran as a DLL
If you wanted to do something about that, recent versions of ld(**)
will
accept an ELF version script on PE platforms. No actual symbol
versioning
happens (yet?), but it acts as a filter on the auto-export feature
so that only
the symbols that are supposed to be visible get exported. (I intend
to do this
for libstdc++ as a follow-on patch once I've got the initial DLL
support committed.)
It turns out it's what happened for my tests with the cross-compiler
(as I stated in http://gcc.gnu.org/ml/fortran/2009-07/msg00254.html,
though I did not analyse it further). This is good to know.
FX