From: joakimds@kth.se
Subject: Re: How to use Zero Footprint runtime with GNAT GPL 2017
Date: Wed, 26 Jul 2017 14:28:25 -0700 (PDT)
Date: 2017-07-26T14:28:25-07:00 [thread overview]
Message-ID: <5eef0349-8cb9-48e9-897b-f1410f6ab17e@googlegroups.com> (raw)
In-Reply-To: <4ede9dd4-9b14-432e-acf0-43de9e0e77b9@googlegroups.com>
> If you are concerned about the size of the executable, you should use the -ffunction-sections and -fdata-sections compiler switches and let the linker garbage collect unused symbols away (linker switch --gc-sections). See http://docs.adacore.com/gnat_ugn-docs/html/gnat_ugn/gnat_ugn.html section 6.3.3.
>
> The you maybe don't need the ZFP runtime.
>
> Regards,
>
> Mark L
Thanks for the suggestion Mark! The Hello world executable goes from 268kb to 87kb.
next prev parent reply other threads:[~2017-07-26 21:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 8:34 How to use Zero Footprint runtime with GNAT GPL 2017 joakimds
2017-07-14 8:42 ` Egil H H
2017-07-14 8:58 ` joakimds
2017-07-14 15:41 ` Simon Wright
2017-07-14 21:35 ` ake.ragnar.dahlgren
2017-07-17 7:13 ` Mark Lorenzen
2017-07-17 7:27 ` Simon Wright
2017-07-17 20:52 ` Luke A. Guest
2017-07-26 21:29 ` joakimds
2017-07-26 21:31 ` joakimds
2017-07-26 21:28 ` joakimds [this message]
2017-07-14 9:56 ` Mark Lorenzen
2017-07-15 13:16 ` Mr. Man-wai Chang
2017-07-15 16:29 ` Lucretia
2017-07-16 13:39 ` Jacob Sparre Andersen
2017-07-16 15:00 ` Lucretia
2017-07-16 14:17 ` Mr. Man-wai Chang
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox