[mod.computers.vax] VAX C run time library

sasaki@HARVARD.HARVARD.EDU (Marty Sasaki) (05/13/86)

Something I learned at the DECUS Symposium...

If you put VAXCRTL.EXE into a library (say sys$library:imagelib.olb),
and then link against the image library it, you will get errors,
especially with i/o routines that use standard in and out. The linker
fails to overlay the data psects properly.

The solution is to not place VAXCRTL.EXE into a library and to link
against it explicitly. The guy DEC with the C RTL hoped that the bug
in the linker will be fixed soon, but that it definitely wasn't fixed
in VMS 4.4.
----------------
  Marty Sasaki				uucp:   harvard!sasaki
  Harvard University Science Center	arpa:	sasaki@harvard.harvard.edu
  One Oxford Street			bitnet: sasaki@harvunxh
  Cambridge, MA 02138			phone:	617-495-1270