This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Control visibility for ELF DSO
- From: Dennis Wassel <dennis dot wassel at googlemail dot com>
- To: Fortran List <fortran at gcc dot gnu dot org>
- Date: Thu, 18 Feb 2010 14:54:47 +0100
- Subject: Control visibility for ELF DSO
Hi people,
is there a standard or gnu-ish way to control visibility of symbols
compiled by gfortran when building a (Linux) shared library?
What I know is that (thanks to Tobias' efforts) 4.5 will have a cool
dllexport/import feature, but there seems to be no equivalent to the
__attribute__ ((visibility("default"))) for Linux purposes, so I am
either missing something painfully obvious (e.g. an external tool like
dlltool with def-file for Windows), or this just does not exist. Which
one will it be?
TIA,
Dennis