3 ms·
It was built-in and called automatically, but since version 4.0 if I remember correctly linking was indeed a separate step. Units were each compiled into TPUs (
by andrewshadura 5y ago
It was built-in and called automatically, but since version 4.0 if I remember correctly linking was indeed a separate step. Units were each compiled into TPUs (or, later, DCUs) and then linked together, possibly with external OBJs.
- pjmlp 5y agoYou could do it both ways, there was tlink.exe for script based builds, but also included in the compiler on the IDE, then again maybe I need to go have a look at those old manuals.
- pjmlp 5y agoI did recall it correctly, > Turbo Pascal's built-in linker automatically removes unused code and data when building an .EXE file. Turbo Pascal 6.0 Programmers' Guide page 258.