On Wed, 8 Nov 2017 23:20:41 +0100, Bernd Oppolzer wrote: > >Just to give an example, how small a runtime library can be: > >my New Stanford Pascal compiler has a runtime library, which is also linked >with every >Pascal program (in the same way as Dave describes). The Pascal compiler itself >is >a Pascal program (ca. 15.000 lines at the moment - pass one, generating >P-Code; the >P-Code is later translated to 370 machine code, which is done in pass two, >which has >another 12000 lines). For the following discussion, PASCAL1 (pass one) only >serves as >an example of a (large) Pascal program. > "P-Code" sounds like jargon from UCSD Pascal, which I brushed against 30+ years ago. There was no pass two; there was an interpreter for the P-Code.
(In other jargon) The runtime library was a single large load module which was linked with every program. But there was a "smart linker" which filtered that large object and deleted every unreferenced CSECT, making the executable as small as possible. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
