home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / programm / 2435 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.programming
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!yktnews!prener
  3. From: prener@watson.ibm.com (Dan Prener)
  4. Subject: Re: ANSI C, was Re: Teaching the basics
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <PRENER.92Aug23032830@prener.watson.ibm.com>
  7. In-Reply-To: crawford@church.mitre.org's message of Sat, 22 Aug 1992 03:42:14 GMT
  8. Date: Sun, 23 Aug 1992 08:28:30 GMT
  9. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  10. References: <1992Aug21.154839.2664@organpipe.uug.arizona.edu>
  11.     <1992Aug21.232022.28931@prl.dec.com>
  12.     <1992Aug22.034214.19539@linus.mitre.org>
  13. Nntp-Posting-Host: prener.watson.ibm.com
  14. Organization: IBM T.J. Watson Research Center, Hawthorne, New York
  15. Lines: 19
  16.  
  17. In article <1992Aug22.034214.19539@linus.mitre.org> crawford@church.mitre.org (Randy Crawford) writes:
  18.  
  19.   [ ... stuff omitted ... ]
  20.  
  21. >>Now, a type checking loader would be a fine thing.
  22. >>So just what is the problem here?  Why can't I buy one?
  23.  
  24. >You can.  It's called a VAX.  However, in Unix, ld (the linker) has lost all
  25. >type information by the time the link occurs.  Unless you change the object
  26. >file format to keep argument and function types around after compilation, no 
  27. >linker will have the information needed to do the job.
  28.  
  29. The ld in AIX on IBM's RS/6000 does such type checking, if one compiles with
  30. the option that asks the compilers to put type information into the .o files.
  31.  
  32. It is optional because many people want to lie across calls to separately
  33. compiled routines.
  34. --
  35.                                    Dan Prener (prener@watson.ibm.com)
  36.