home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / vms / 14304 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.3 KB

  1. Path: sparky!uunet!comp.vuw.ac.nz!zl2tnm!toyunix!don
  2. Newsgroups: comp.os.vms
  3. Subject: Re: Linking C programs
  4. Message-ID: <1121242@zl2tnm.gen.nz>
  5. From: don@zl2tnm.gen.nz (Don Stokes)
  6. Date: 30 Aug 92 00:41:38 GMT
  7. Sender: news@zl2tnm.gen.nz (GNEWS Version 2.0 news poster.)
  8. Distribution: world
  9. Organization: The Wolery
  10. Lines: 18
  11.  
  12. moroney@ramblr.enet.dec.com writes:
  13. > The Fortran, Basic etc. RTLs all have routines name FOR$xxx or BAS$xxx, but
  14. > the C language definition requires the name to be printf etc. so DEC-reserved
  15. > names such as C$PRINTF couldn't be used.  Therefore, VAXCRTL couldn't
  16. > be put into IMAGELIB.
  17.  
  18. I understood that the DEC C rtls will be included in IMAGELIB?  
  19.  
  20. This _should_ be possible, given that the ANSI C and POSIX specs define
  21. the calls to be available in the RTL in a way that these can be considered
  22. part of the language.  In this case, if the compiler sees an open() call, 
  23. it can safely replace it with a DECC$OPEN() or whatever.  (Presumably a 
  24. switch of some sort is required for idiots who write their own open() calls.)
  25.  
  26. --
  27. Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
  28. Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
  29. Victoria University of Wellington, New Zealand              +64-4-495-5052
  30.