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,81cf52699486abe7 X-Google-Attributes: gid103376,public From: falis@ma.aonix.com (Ed Falis) Subject: Re: Code size of Ada ? was Re: Ada95 Strengths/Weaknesses. Date: 1999/09/29 Message-ID: <1103_938628432@DZOG-CHEN>#1/1 X-Deja-AN: 530802372 Sender: news@sd.aonix.com (USENET News Admin @flash) X-Nntp-Posting-Host: 192.157.137.134 References: <37EED7B8.245C0054@yukyonline.co.yuky> <7smp30$9aa1@news.cis.okstate.edu> <7sp8m9$a6e$1@nnrp1.deja.com> <37F0D03C.DE4807D4@icn.siemens.de> <7srnb9$2u3$1@nnrp1.deja.com> <1999Sep29.075617.1@eisner> <37F22BB1.F3524D60@icn.siemens.de> <37F25273.298DCBD6@Maths.UniNe.CH> Organization: Aonix, San Diego, CA, USA Newsgroups: comp.lang.ada Date: 1999-09-29T00:00:00+00:00 List-Id: On Wed, 29 Sep 1999 19:55:01 +0200, Gautier wrote: > A C linker will put together the entire object code files with > needed and unneeded parts... > Since GNAT uses a _C_ linker, this may be why your .exe is so big! > [or aren't you using GNAT ?] I don't think this is a matter of using a "C" linker, but maybe one of using ld? On windows, both the Microsoft linker and the Phar Lap linker we use for embedded applications are smart enough to eliminate unreferenced code sections, for Ada or for other languages. This was nice, because we were able to jettison our own USE technology and create platform standard object modules there. - Ed Falis Aonix