comp.lang.ada
 help / color / mirror / Atom feed
From: sommar@enea.se (Erland Sommarskog)
Subject: Re: Sizes of executables from Unix compilers
Date: 6 Jun 90 06:37:14 GMT	[thread overview]
Message-ID: <1700@enea.se> (raw)
In-Reply-To: 1930@sparko.gwu.edu

Michael Feldman (mfeldman@seas.gwu.edu) gives the sizes of some
"hello world" programs:
>C   (HP835)     34816
>Ada (HP835)     86016
>
>C   (Sun-3)     32768
>Ada1(Sun-3)     57344
>Ada2(Sun-3)    106496
>Ada3(Sun-3)    139264

I don't think this is a language issue, but one of operating system.
Shared libraries is apparently not a standard features on Unix, it
has been on VMS as long as I have known. I haven't tried a "Hello
world" on VMS, but it should be less than 10 blocks (= 5120 bytes).

Of course, an Ada system under Unix could do various optmizations
at link time to keep down the size, on the other hand why adopt
to an ancient technology?
-- 
Erland Sommarskog - ENEA Data, Stockholm - sommar@enea.se

  reply	other threads:[~1990-06-06  6:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-06-04 22:35 Sizes of executables from Unix compilers Michael Feldman
1990-06-06  6:37 ` Erland Sommarskog [this message]
1990-06-06 23:06   ` Doug McDonald
1990-06-07  3:57     ` diamond@tkovoa
1990-06-09 15:26   ` Sizes of executables from (UNIX) VMS compilers tdhammer
1990-06-11 14:47     ` David Kassover
1990-06-11 16:43       ` Paul A. Varner
1990-06-08 21:32 ` Sizes of executables from Unix compilers arny.b.engelson
1990-06-09  4:01   ` Michael Feldman
1990-06-10  6:46   ` Sizes of executables from VMS (was UNIX) Compilers RCAPENER
1990-06-11 14:56     ` arny.b.engelson
1990-06-12 22:05   ` Sizes of executables from Unix compilers Erland Sommarskog
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox