You *may* be able to use the dl interface to do this.  Have a look at the
man page, dlopen(3).

Kurt

Also sprach Rafael Marco de Lucas:
> 
>    Hello, thanks for your answer Lawson,
> >If it's a fortran formula, why not put a fortran wrapper on it and feed
> >it to the fortran compiler?  Then you can link your code with it and
> >call it with what values you like.
>   but each time the program runs with a different formula i will have to
>  compile again the code, and i will have to build a new executable file
>  and run it, isn't it?   i would prefer to run a single executable code
>  and not to jump from one to other (ie. using atexit from stdlib.h)
>    is it possible to compile/link just a function and call it from the initial
>  program (i mean, to add a function to the program while it is running in a way
>  that i do not need to exit from the initial program ) ?


Kurt
-- 
Boy!  Eucalyptus!

Reply via email to