TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Murray Lesser
from: Francois Thunus
date: 1999-01-19 17:05:00
subject: Pl/I

Hello Murray!

18 Jan 99 15:48, Murray Lesser wrote to Francois Thunus:

 FT>> ...out of curiosity, how big would be the executable ? I'll write the

 ML>     When compiling TOUPPER.PLI as written, and linking with ILINK as
 ML> noted above, the executable code comes out at 1296 bytes.  Of course,
 ML> this example is misleading because it is dynamically linked to the PL/I
 ML> runtime DLLs, which are always in residence in my system.

small.

 ML>     If I recompile the same source code for static linking (to
 ML> include the runtime in the executable), it grows to 72000 bytes

big :-)

 ML> linking will run 2 to 5 KB.  I usually compile a new program for static
 ML> linking as part of the development process, because the run-time error
 ML> checking seems to be more complete and errors have shown up that were
 ML> hidden in the dynamically linked executable.

any specific reason for that ??

 ML>   Of course, when I am satisfied with the utility, I recompile and
 ML> relink it for dynamic linking to save disk space.

sure. I also have 2 sets of compiling options, one for debug and one for
production, like everyone does, I imagine.

 ML>     Hope this helps,

most interesting, indeed. thanks.


                             -= Francois =-
                      Francois(at)telematique(dot)org
                       http://www.telematique.org/ft

"She's a witch!  Burn her!"

--- GoldED 2.51.A1026+
* Origin: Xara Sto Pragma ! Gasperich - Luxembourg -> (FidoNet 2:270/25.2)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 270/25 170/400 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.