home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!asuvax!ennews!telesys!wierius!witsend!dcs
- Message-ID: <765343d4881882t223@witsend.uucp>
- Date: Thursday, 31 December 1992 13:29:56 MST
- X-Mailer: TMail version 1.15R
- From: "D. C. Sessions" <dcs@witsend.tnet.com>
- Organization: Nobody but me -- really
- 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>
- Subject: Re: Distributing TPUs
- Newsgroups: comp.lang.pascal
- Distribution: world
- Lines: 34
-
- In <1992Dec31.121645.6747@qiclab.scn.rain.com>, leonard@qiclab.scn.rain.com (Leonard Erickson) wrote:
- #
- # trodgers@nmsu.edu (Thomas Rodgers) writes:
- #
- # >dmurdoch@mast.queensu.ca writes :
- # >> It's a trade-off. .TPU files contain some optimizations that make
- # >> compiling and linking go much faster than ic could with .OBJ files;
- # >> these mean upward compatibility is essentially impossible.
- #
- # >Hmmm...Having used Borland's C++ product as well as their pascal
- # >product, I think I would rather put up with slightly slower compile times
- # >to get the ability to use .OBJ files, for several reasons. Borland's
- # >C++ product is not that slow of a compiler, the biggest slowdown comes
- # >from compiling all of those <.h> files, but you can pre-compile the
- # >headers (not the greatest solution, but it works). Borland could go a
- # >similar route with the Pascal units.
- #
- # Well, TPU files have a *big* advantage over OBJ and LIB files in one
- # area. If I only use *one* function or procedure from a TPU, only the
- # code required for *that* is incorporated in the final EXE. Ditto for
- # constants defined in the TPU. Only the ones that get *used* are incorporated.
-
- Yes, but smart linkers do this with .OBJ files as well. 'Way back
- in '88 (do I sound like a fogey yet?) Logitech's Modula-2
- compiler and smart linker were doing this trick. The compiler
- had to put some extra symbols in the image, but that was necessary
- for .DEF timestamping anyway. So, since Borland didn't add the
- feature until AFTER it was available elsewhere for .OBJ files, they
- still have a lot of NIH to explain away.
-
- --- D. C. Sessions Speaking for myself ---
- --- Note new network address: dcs@witsend.tnet.com ---
- --- Author (and everything else!) of TMail (DOS mail/news shell) ---
-