This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: Function Lookup


On Sat, Feb 23, 2008 at 11:36 AM, corey taylor <corey.taylor@gmail.com> wrote:
> Are you asking for something like dlopen and dlsym or something more
>  extensive?  This seems like the basic opening and use of shared
>  objects.
>
>  http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html
>  http://developer.apple.com/documentation/Darwin/Reference/Manpages/man3/dlsym.3.html

Hi Corey,
              Thanks, I was looking for this only...

Regards,
Anoop

>
>  corey
>
>
>
>  On Fri, Feb 22, 2008 at 11:57 PM, ANOOP <anoop.chargotra@gmail.com> wrote:
>  > Hi All,
>  >         I want to implement a scenario, in which user enters a string
>  > (function name), and my program executes it. This function is defined
>  > in a 'shared library'. So basically, user can enter any string, and my
>  > program needs to look up it in the shared library, if it finds execute
>  > it.
>  > Can this be achieved anyhow, and more over without re-compiling by
>  > program, when shared library is updated with new function definitions.
>  >
>  > Thanks,
>  > Anoop
>  >
>


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