home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / ingres / 1931 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.7 KB  |  52 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!ukma!asuvax!ncar!uchinews!gsbacd.uchicago.edu!cs_mj
  3. From: cs_mj@gsbacd.uchicago.edu (Mark Jaeger)
  4. Subject: Re: Gnu C++ and INGRES
  5. Message-ID: <1992Nov18.142628.1@gsbacd.uchicago.edu>
  6. Followup-To: gcc.help
  7. Lines: 39
  8. Sender: news@uchinews.uchicago.edu (News System)
  9. Organization:     
  10. References: <1992Nov17.133746.1439@dct.ac.uk>
  11. Date: Wed, 18 Nov 1992 20:26:28 GMT
  12.  
  13. In article <1992Nov17.133746.1439@dct.ac.uk>, mcsmijq@dct.ac.uk writes:
  14.  
  15. > Does anyone know how to link gnu C++ to INGRES on a VAX cluster. It,s easy
  16. > enough using the link command with a vaxc obj file but what's the syntax using
  17. > cxshare?
  18.  
  19. I don't quite know what cxshare is, but if it is a shareable runtime
  20. library (similar to the file sys$share:vaxcrtl.exe that is supplied with
  21. either VMS or VAX C), then you could link your program in either of two
  22. ways:
  23.  
  24.         $ cc foo.c
  25.         $ link foo.obj,sys$input: /opt
  26.         gnu$lib:cxshare.exe /share
  27.         ^Z
  28.  
  29. or
  30.  
  31.         $ cc foo.c
  32.         $ link foo.obj,foo.opt /opt
  33.  
  34. where foo.opt contains this line:
  35.  
  36.         gnu$lib:cxshare.exe /share
  37.  
  38. You'll have to adjust the name of "gnu$lib" for your site.
  39.  
  40. Shareable runtime libraries in VMS have the great advantages of (1)
  41. making your images much, much smaller, thereby saving disk space and
  42. reducing image activation time; and (2) reducing memory usage at runtime
  43. since there need be only one copy of the shareable image in physical
  44. memory for all users.
  45.  
  46. --Mark Jaeger                internet: cs_mj@gsbvax.uchicago.edu
  47. Graduate School of Business        yellnet:  (312) 702-0328
  48. University of Chicago            faxnet:   (312) 702-0233
  49. Disclaimer: My opinions are my own and not those of my employer.
  50. Ich bin ein Virus.  Mach' mit und kopiere mich in Deine .signature.
  51.  
  52.