From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1bce3f54cf1cba1b X-Google-Attributes: gid103376,public From: "Theodore E. Dennison" Subject: Re: GNAT Executables: How low can you go? Date: 1996/04/16 Message-ID: <31742475.1CFBAE39@escmail.orl.mmc.com>#1/1 X-Deja-AN: 147868386 references: <4kmq7a$egm@fozzie.sun3.iaf.nl> <4l0o3s$hgt@utrhcs.cs.utwente.nl> cc: geert@sun3.iaf.nl content-type: text/plain; charset=us-ascii organization: Lockheed Martin Information Systems mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m) Date: 1996-04-16T00:00:00+00:00 List-Id: Geert Bosch wrote: > > But I didn't say I linked the runtime libraries static ;-) All the > application code, the regexp library and the necessary headers/stub > fits in 12K. The smallest I could get with statical linking was 52 kB. > > But since most C apps use emx.dll and emxlibc.dll, why couldn't Ada > apps not use a dll? I put *all* of the GNARL code (700 kB of .o files) > in one 250 kB dll and link all apps against that. This is a really good > way of avoiding those bloated executables we see otherwise. Of course you realize that unless you have other applications running simultaniously on the system using those DLL's, you havent gained anything. You've just split your executable into several files. All the bytes are still there. I suppose it might save a few K of disk space, but with 1 gigabyte harddrives coming with most PC's these days, I certainly don't care about a couple hundred K of disk space. I could clean out several hundred times that just by deleting the files in my web browser's temp directory. > PS. My newsfeed seems to be broken, so please send a copy of any > follow-ups to geert@sun3.iaf.nl. (done) -- T.E.D. | Work - mailto:dennison@escmail.orl.mmc.com | | Home - mailto:dennison@iag.net | | URL - http://www.iag.net/~dennison |