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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.34.12 with SMTP id o12mr1329162ito.30.1501104506005; Wed, 26 Jul 2017 14:28:26 -0700 (PDT) X-Received: by 10.36.34.10 with SMTP id o10mr80875ito.10.1501104505977; Wed, 26 Jul 2017 14:28:25 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!t6no63782itb.0!news-out.google.com!f71ni279itc.0!nntp.google.com!t6no65597itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 26 Jul 2017 14:28:25 -0700 (PDT) In-Reply-To: <4ede9dd4-9b14-432e-acf0-43de9e0e77b9@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.229.240.94; posting-account=HFCrOQoAAABZD_f-UUbYHm3lJDIrh-UX NNTP-Posting-Host: 85.229.240.94 References: <62ae5f16-9aa0-4512-89c5-11382eca8a88@googlegroups.com> <4f0cc0ce-2609-4581-9a8c-010a380214af@googlegroups.com> <4ede9dd4-9b14-432e-acf0-43de9e0e77b9@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5eef0349-8cb9-48e9-897b-f1410f6ab17e@googlegroups.com> Subject: Re: How to use Zero Footprint runtime with GNAT GPL 2017 From: joakimds@kth.se Injection-Date: Wed, 26 Jul 2017 21:28:25 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:47517 Date: 2017-07-26T14:28:25-07:00 List-Id: > If you are concerned about the size of the executable, you should use the= -ffunction-sections and -fdata-sections compiler switches and let the link= er garbage collect unused symbols away (linker switch --gc-sections). See h= ttp://docs.adacore.com/gnat_ugn-docs/html/gnat_ugn/gnat_ugn.html section 6.= 3.3. >=20 > The you maybe don't need the ZFP runtime. >=20 > Regards, >=20 > Mark L Thanks for the suggestion Mark! The Hello world executable goes from 268kb = to 87kb.