> "Raymond" == Raymond Wiker <[EMAIL PROTECTED]> writes:
Raymond> raw : ~ $ cat dltest.c
Raymond> #include
Raymond> #include
Raymond> main()
Raymond> {
Raymond> void *handle;
Raymond> void *sym;
Raymond> handle = dlopen(0, RTLD_LAZY);
Raymond> if
On 20-Jul-00 Raymond Wiker wrote:
> Is it possible, at all, to use dlopen etc from a
> statically-linked executable? My experiments with FreeBSD-4.0 (see
> below) indicate that it's not possible.
You can't do it from a statically linked binary, however you can create a
dynamic executable w
> raw : ~ $ gcc dltest.c -o dltest
> raw : ~ $ ./dltest
> Handle: 0x2805e000, main: 0x0
> Handle: 0x0, main: 0x0
>
> [ Note: this seems wrong; according to the manpage for dlsym, the
> second call should give the same output as the first. ]
Sorry about the confusion... the "main" symbol
On Sat, 22 Jul 2000, Daniel O'Connor wrote:
>
> On 20-Jul-00 Raymond Wiker wrote:
> > Is it possible, at all, to use dlopen etc from a
> > statically-linked executable? My experiments with FreeBSD-4.0 (see
> > below) indicate that it's not possible.
>
> You can't do it from a statically l
Daniel O'Connor writes:
>
> On 20-Jul-00 Raymond Wiker wrote:
> > Is it possible, at all, to use dlopen etc from a
> > statically-linked executable? My experiments with FreeBSD-4.0 (see
> > below) indicate that it's not possible.
>
> You can't do it from a statically linked binary,
5 matches
Mail list logo