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