Re: dlopen()

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi,

On Fri Jun 19, 2015 at 16:15:54 +0200, ba_f wrote:
> is it possible to dlopen() a shared lib?

Yes.

> I'd like to execute a program that is started like this:
> "Example: ./gen_random -d .libs/libsim.so"
> 
> I know how to start a program with arguments.
> But where could i put my shared lib, and which path should i pass to the
> executing program?

All files/modules you put in your modiles.list file entry show up under
rom/. So it should be: ./gen_random -d rom/libsim.so



Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.