rtems-users Digest, Vol 66, Issue 6

Juan Pablo Rumie Vittar jvittar at faa.mil.ar
Mon Mar 5 17:58:17 UTC 2012


On Fri, 02 Mar 2012 23:58:32 -0600, rtems-users-request wrote
-------------------------------------------> 
> >
> > One question: how I can compile an example (RTEMS), using the functions
> > dlopen, dlclose, etc?
> In short: You can't. RTEMS currently only supports static linkage.
> 
> > If the sentence: "# include<dlfcn.h>"
> >
> > no works already (apparently) with the gcc compiler RTEMS?
> >
> > I guess (the gcc compiler RTEMS) instead of using "libc" used "newlib"
> >
> > I can do to solve the problem?
> >
> > thanks in advance
> Some people have some more or less functional versions of dynamic 
> loading in the works, but so far none of them have found their way 
> into official RTEMS.
> 
> Ralf
> 
> 
> On Fri, Mar 2, 2012 at 5:54 AM, Juan Pablo Rumie Vittar
> <jvittar at faa.mil.ar> wrote:
> >
> > Hello,
> >
> > One question: how I can compile an example (RTEMS), using the functions
> > dlopen, dlclose, etc?
> > If the sentence: "# include <dlfcn.h>"
> >
> > no works already (apparently) with the gcc compiler RTEMS?
> >
> > I guess (the gcc compiler RTEMS) instead of using "libc" used "newlib"
> >
> > I can do to solve the problem?
> >
> > thanks in advance
> >
> There is experimental work in progress to support dynamic linking 
> that IIRC uses dlopen/dlclose; the main author is Chris Johns. I 
> suspect it will be in the release of 4.11.
> 
> -Gedare
> 

Thanks Ralf and Gedare I will investigate the work of Chris, who
coincidentally had found something about that...

regards

-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.




More information about the users mailing list