This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: export problem
- To: Mvasarhely at aol dot com
- Subject: Re: export problem
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 02 Mar 2001 16:59:41 -0300
- Cc: <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <7e.119be42b.27d14ec2@aol.com>
On Mar 2, 2001, Mvasarhely@aol.com wrote:
> How can I make functions visible from outside the shared library so calling
> them via a pointer using dlsym () will work?
It depends on the operating system and on the linker being used. With
GNU ld, -export-dynamic should do it.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me