comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: gnat executables
Date: Wed, 22 Feb 2012 17:01:35 +0100
Date: 2012-02-22T17:01:35+01:00	[thread overview]
Message-ID: <q5p1b7g32vi0$.1fjhcixoh5rg4$.dlg@40tude.net> (raw)
In-Reply-To: a3c6e530-4a87-4b94-babc-7a546e3d57a1@m7g2000vbw.googlegroups.com

On Wed, 22 Feb 2012 07:31:29 -0800 (PST), tonyg wrote:

> Whenever I compile some code for a different PC , it asks me for the
> runtime libraries for gtk and some others. Is there a way I can link
> my executable so the functions used in these libraries are included in
> my executable ?

You have to link to the static (object) libraries. Whether this would work
depends on whether the provider of the library allows static linkage or
not. The answer would depend on the target platform and the licensing
policy.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2012-02-22 16:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-22 15:31 gnat executables tonyg
2012-02-22 16:01 ` Dmitry A. Kazakov [this message]
2012-02-22 16:14   ` tonyg
2012-02-22 19:29     ` Jan Andres
2012-02-22 20:21       ` Dmitry A. Kazakov
2012-02-23  3:38         ` John B. Matthews
2012-02-23  8:37           ` Simon Wright
2012-02-24 19:31 ` gnat executables for Gtk Ada Francois54
2012-03-20 12:47 ` gnat executables tonyg
replies disabled

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