[comp.lang.ada] Reducing the size of Ada's EXE files

romanows@TARTAN.COM (04/20/91)

>What most of us complain about is the amount of code that gets linked into an
>executable which will never be executed.  On DEC Ada, for instance, whenever
>you used a subprogram from a package, you got the whole package linked in.
>So if the subprogram was 3 KBytes & the package was 3 MBytes, you got a 
>1000 times as much code in your executable.

     The linkers for all of Tartan's Ada compilers do unused section 
elimination and they have done it for some time now. The linker automatically 
eliminates ALL unused sections including those of the runtimes. There is no 
need to use a command line switch for the compiler or linker. You do have the 
option of keeping any or all program sections in your executable, even if they
are not used, if you so desire. This optimization does not put undue burden on
the linker. It is fast whether or not you choose to let the optimization take 
place.

     Feel free to contact me for more information.

							Jim Romanowski
							Tartan Inc.
					       Phone:	412-856-3600
					       E-mail	Romanows@tartan.com