comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Using Gnat.Sockets in a Windows DLL
Date: Fri, 25 Dec 2015 11:09:59 +0000
Date: 2015-12-25T11:09:59+00:00	[thread overview]
Message-ID: <lybn9en5rs.fsf@pushface.org> (raw)
In-Reply-To: cccea45c-c01d-4d01-8238-f57670680632@googlegroups.com

ahlan@marriott.org writes:

> To summarise: We want to build an encapsulated DLL so that we don't
> have to distribute the Ada Runtime etc. AdaCore define an encapsulated
> library as only depending on system libraries.
> However I wonder what is meant by system libraries.

From the sources of GPRBUILD GPL 2015, at gprlib.adb:2213,

    Library_Options_Table.Append (Libgnat);

    --  ?? The proper implementation for the following code is to
    --  add only the libraries that libgnat is using. This information
    --  is not readily available but we should be able to compute
    --  this from the ALI files.

    declare
       I : constant Natural := Object_Files.Last;
    begin
       --  Then adds back all libraries already on the command-line
       --  after libgnat to fulfill dependencies on OS libraries
       --  that may be used by the GNAT runtime. These are libraries
       --  added with a pragma Linker_Options in sources.

Not much help, I konw.

  reply	other threads:[~2015-12-25 11:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-26  7:56 Using Gnat.Sockets in a Windows DLL ahlan
2015-11-26  8:39 ` Dmitry A. Kazakov
2015-12-08  7:43 ` ahlan
2015-12-08  9:52   ` Dmitry A. Kazakov
2015-12-09  7:20 ` ahlan
2015-12-09  9:20   ` Dmitry A. Kazakov
2015-12-09 12:02 ` ahlan
2015-12-09 12:33   ` Dmitry A. Kazakov
2015-12-09 15:06 ` ahlan
2015-12-09 15:58   ` Dmitry A. Kazakov
2015-12-09 19:11   ` Simon Wright
2015-12-11 17:53 ` ahlan
2015-12-12 12:47   ` Simon Wright
2015-12-12 19:44     ` ahlan
2015-12-12 20:38       ` Simon Wright
2015-12-24 14:46 ` ahlan
2015-12-25 11:09   ` Simon Wright [this message]
2016-01-13 20:25 ` ahlan.marriott
2016-04-20 17:10   ` Dmitry A. Kazakov
2016-04-23  9:24     ` ahlan.marriott
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox