home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7823 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.6 KB  |  35 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!email!ps1.iaee.tuwien.ac.at!Sorokin
  3. From: Sorokin@ps1.iaee.tuwien.ac.at (Sorokin Zhenya)
  4. Subject: Re: Distributing TPUs
  5. Message-ID: <Sorokin.44.726103027@ps1.iaee.tuwien.ac.at>
  6. Lines: 21
  7. Sender: news@email.tuwien.ac.at
  8. Nntp-Posting-Host: pc77.iaee.tuwien.ac.at
  9. Organization: Inst. of General Electronics and Electroengeneering, TU Vienna
  10. References: <1992Dec27.022633.14853@beaver.cs.washington.edu>   <765338d8368876t211@witsend.uucp> <dmurdoch.254.725594757@mast.queensu.ca> <1992Dec29.163745.19275@nmsu.edu> <1992Dec31.121645.6747@qiclab.scn.rain.com>
  11. Date: Sun, 3 Jan 1993 23:17:07 GMT
  12. Lines: 21
  13.  
  14. In article <1992Dec31.121645.6747@qiclab.scn.rain.com> leonard@qiclab.scn.rain.com (Leonard Erickson) writes:
  15. >trodgers@nmsu.edu (Thomas Rodgers) writes:
  16. >
  17. >Well, TPU files have a *big* advantage over OBJ and LIB files in one
  18. >area. If I only use *one* function or procedure from a TPU, only the
  19. >code required for *that* is incorporated in the final EXE. Ditto for
  20. >constants defined in the TPU. Only the ones that get *used* are incorporated.
  21. >
  22.  
  23. Well, even this is not always the case. Just try to have a .MAP file of a 
  24. smallest program , which "uses Crt", for example. You'll see addresses of 
  25. *ALL* Crt routines, even if you use only one. 
  26.  
  27. This is because Crt unit is just *one* assembler program which have many 
  28. entry points. The same holds for some portions of System unit and RTL.
  29.  
  30. >-- 
  31. >Leonard Erickson              leonard@qiclab.scn.rain.com
  32. >CIS: [70465,203]             70465.203@compuserve.com
  33. >FIDO:   1:105/51     Leonard.Erickson@f51.n105.z1.fidonet.org
  34. >(The CIS & Fido addresses are preferred)
  35.