dlopen/dlclose/dlsym
Mike Stump
mrs@wrs.com
Thu Jun 25 18:53:00 GMT 1998
> 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.
More information about the Gcc
mailing list