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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,29f01dc1362fc545 X-Google-Attributes: gid103376,public From: David Dousette Subject: Re: huge executable Date: 2000/05/14 Message-ID: <391EF7AD.8BDC88B8@mailandnews.com>#1/1 X-Deja-AN: 623345800 Content-Transfer-Encoding: 7bit References: <8fmgp5$jci$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@onemain.com X-Trace: nntp2.onemain.com 958334345 216.80.155.201 (Sun, 14 May 2000 15:59:05 EDT) MIME-Version: 1.0 NNTP-Posting-Date: Sun, 14 May 2000 15:59:05 EDT Newsgroups: comp.lang.ada Date: 2000-05-14T00:00:00+00:00 List-Id: Is this a command line switch I could specify for GNATMAKE to use dynamic linking versus static? Or were you saying that this is something in how GNAT itself was written or compiled? And what would the advantages be, provided the target OS supports both, of using static linking over dynamic linking? Thanks! David Robert Dewar wrote: > In article , > "Randy" wrote: > > > The GNAT Ada compiler embeds code for the "Runtime > > Environment" (RTE) with every program. > > Note that this is true by default on some targets, and false > by default on some targets (where dynamic libraries are the > default, e.g. SGI), and on some targets, the user can choose > whether to use static or dynamic linking. > > On OS/2, where the question originates, the default is to > link statically, but OS/2 most certainly supports dynamic > linking, so it would be possible to build the GNAT runtime > as a dynamic shared library (although we do not provide this > by default). > > Robert Dewar > Ada Core Technologies > > Sent via Deja.com http://www.deja.com/ > Before you buy.