Technical Notes Database
TN82D.txt OBJECT FILE CREATION
Category :Pascal
Platform :All
Product :Turbo Pascal 4.0+
Description:
Q. Does Turbo Pascal create object files that can be linked into
other languages?
A. Turbo Pascal 4.0+ generates .TPU (Turbo Pascal Unit) files, not
.OBJ files. We've made that decision for many reasons:
1. TP 4.0+'s .TPU files are smaller than .OBJ's, and they
contain symbolic information important to the support of
Pascal's strict type conventions (types, constants,
etc.).
2. .TPU files allow "smart linking" - elimination of unused
code and data on a procedure-by-procedure basis.
3. .TPU's allow built-in project management through version
4.0+'s Make and Build commands.
4. .TPU's allow faster compilation speeds (34,000 lines per
minute on a PS/2 Model 60).
Reference:
7/16/98 4:35:29 PM
Last Modified: 01-SEP-99