From: Luke A. Guest <laguest@archeia.com>
Subject: Re: How to use Zero Footprint runtime with GNAT GPL 2017
Date: Mon, 17 Jul 2017 21:52:54 +0100
Date: 2017-07-17T21:52:54+01:00 [thread overview]
Message-ID: <218442541.522017527.706587.laguest-archeia.com@nntp.aioe.org> (raw)
In-Reply-To: lylgnnmsk6.fsf@pushface.org
>> 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.
>
> This works if you are using GNU ld; but not for native Darwin.
>
See
https://stackoverflow.com/questions/24734409/make-error-in-mac-clang-ld-unknown-option-gc-sections
next prev parent reply other threads:[~2017-07-17 20:52 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 [this message]
2017-07-26 21:29 ` joakimds
2017-07-26 21:31 ` joakimds
2017-07-26 21:28 ` joakimds
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