Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!lll-winken!uunet!crdgw1!nieh From: nieh@nnn.crd.ge.com Newsgroups: comp.unix.wizards Subject: questions on dynamic linking on SunOS Message-ID: Date: 14 Sep 89 20:44:43 GMT Sender: news@crdgw1.crd.ge.com Organization: GE Corp. R & D, Schenectady, NY Lines: 25 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@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