home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13580 < prev    next >
Encoding:
Text File  |  1993-01-21  |  798 b   |  35 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!peora!tarpit!bilver!vicstoy!dchen
  3. From: dchen@vicstoy.UUCP (Daixiang Chen)
  4. Subject: Shared Library for C++ Classes, How?
  5. Message-ID: <1993Jan21.000149.25746@vicstoy.UUCP>
  6. Organization: vicstoy: Public Access Unix, Orlando, FL
  7. Distribution: usa
  8. Date: Thu, 21 Jan 1993 00:01:49 GMT
  9. Lines: 24
  10.  
  11. Specifically for the following C++ code
  12.  
  13.     =========== try.C ===
  14.  
  15.     class example {
  16.     public:
  17.         print();
  18.     };
  19.  
  20.     example::print()
  21.     {
  22.         printf("Do nothing\n");
  23.     }
  24.  
  25. How to make the try.o a shared library? If the export file is need 
  26. (as needed for C functions) how to say 
  27. "export class example or export class::print" in export file format?
  28.  
  29. We use XL C++ 1.0, run AIX 3.2.2, I don't have the C++ compiler's user guide.
  30. Any suggestions or ideas are welcome
  31.  
  32.  
  33.  
  34. D. Chen
  35.