questions on dynamic linking on SunOS

nieh at nnn.crd.ge.com nieh at nnn.crd.ge.com
Fri Sep 15 06:44:43 AEST 1989



This idea just came across to my mind. If it is feasible it would be
very useful. Before I even try it I would like to get some opinions.

On SunOS 4.0, 

 1. run a C program which generates a C function, say xxx(...). 
 2. fork a cc to compile it and to put it into the shareable  library.
 3. back to the program and call it. (I think it's ok)
 4. generate a different version of  xxx(...) 
    and compile it and put it back to the  same shareable library.
 5. call it again. (what should happen? the old xxx(...)
                        or the new xxx(...) gets executed ?)

Any comments ?

--

Ko-Haw Nieh

General Electric Company            | nieh at crd.ge.com
Corporate Research and Development  | uunet!crd.ge.com!nieh
P.O BOX 8, K1-ES224 		    | FAX : 518-387-7258
Schenectady, NY 12301               | TEL : 518-387-7431  



More information about the Comp.unix.wizards mailing list