adam@ste.dyn.bae.co.uk (Adam Curtin) (08/21/90)
(I hope the subject line didn't mislead you into thinking that this was a "how- to". It's a "please tell me how to"!) I can create all the shared libraries I want, as long as I don't use classes with virtual functions. The problem with virtual functions (as I understand it) is that the virtual function tables count as exported initialised data ... lib*.sa.v fodder. I would be able to cope with this if I could get the vft in a separate object module, but I can't find a way of getting it out of ... "... the file where the first non-inlined virtual function is defined." (page 5, READ THIS FIRST Sun C++ Part No: 800-3352-11) I may only put code in the .so file. I may only put data in the .sa file. I can't find a way of splitting them up. I'm a bit pessimistic because although Sun have provided a shared version of the complex library, there's no shared version of the Ostream library. Can anyone help? Adam -- A. D. Curtin Tel : +44 438 753430 British Aerospace (Dynamics) Ltd. Fax : +44 438 753377 PB 230, PO Box 19, Six Hills Way, Email: adam@ste.dyn.bae.co.uk Stevenage, SG1 2DA, UK. UUCP : ...!uunet!mcvax!ukc!bae-st!adam Arse-covering : <This disclaimer conforms to RFC 1188> Fun-to-be-alive: "My other car is an FJ1200"