This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dlopen/dlclose/dlsym


> Date: 23 Jun 98 05:40:11 +0200
> From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>

>    Is there any kind of support for calling functions

Yes.

> in shared libraries

Yes.

> that use the dlopen/dlclose/dlsym interface?

Yes.

> If so, how does it work?

In the same way that we don't explain how fopen() works on your
platform, we also don't tell you how dlopen works.  We assume that you
can read your system documentation for such information.  You also
commit the sin of not telling us what platform you're working on.

On the SPARC, you will want to use --export-dynamic with GNU ld, if
you're using it.  This is documented, but different from Sun's
/bin/ld.  Other than that, it should just work.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]