export problem

Alexandre Oliva aoliva@redhat.com
Fri Mar 2 11:59:00 GMT 2001


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



More information about the Gcc-help mailing list