From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: GNAT, portability between computers (win32)
Date: Thu, 11 Aug 2016 18:11:37 +0200
Date: 2016-08-11T18:11:37+02:00 [thread overview]
Message-ID: <noi841$1fi$1@gioia.aioe.org> (raw)
In-Reply-To: aa60aa67-1648-41e2-a8e1-8ef163944433@googlegroups.com
On 2016-08-11 16:53, Aurele wrote:
>> Look for -static in section 4.5.2.
>
> Thanks for the specifics. Unfortunately, GPS has no such switch and
> entering it explicitly in the build file does nothing. By the way, I
> forgot to mention I'm building an Ada "Dynamic" library or DLL, so maybe
> that's way it depends on these GNAT specific external DLLs. No idea why
> your EXE would also depend on such George because as Gautier already
> mentioned, none of my EXEs have such dependencies :?
A DLL that includes GNAT run-time and thus does not depend on GNAT DLLs
is called stand-alone. See
https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/gnat_project_manager.html#stand-alone-library-projects
You must have
for Library_Standalone use "encapsulated";
in your library project.
P.S. It does not work well for Windows, see another discussion thread.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2016-08-11 16:11 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 14:17 GNAT, portability between computers (win32) George J
2016-08-10 14:23 ` George J
2016-08-10 14:43 ` Dmitry A. Kazakov
2016-08-10 14:52 ` George J
2016-08-10 16:07 ` Dmitry A. Kazakov
2016-08-10 15:30 ` Aurele
2016-08-10 18:29 ` gautier_niouzes
2016-08-10 20:44 ` Aurele
2016-08-11 5:08 ` gautier_niouzes
2016-08-11 14:47 ` George J
2016-08-11 14:50 ` George J
2016-08-11 16:03 ` Dmitry A. Kazakov
2016-08-10 16:55 ` George J
2016-08-10 17:16 ` George J
2016-08-11 9:53 ` Aurele
2016-08-11 10:11 ` Pascal Obry
2016-08-11 10:17 ` Aurele
2016-08-11 13:40 ` Pascal Obry
2016-08-11 14:53 ` Aurele
2016-08-11 16:11 ` Dmitry A. Kazakov [this message]
2016-08-11 16:41 ` Aurele
2016-08-11 17:23 ` Dmitry A. Kazakov
2016-08-11 18:12 ` Aurele
2016-08-11 20:53 ` Dmitry A. Kazakov
2016-08-11 19:42 ` Aurele
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox