comp.lang.ada
 help / color / mirror / Atom feed
From: Francois54 <nobody@nowhere.org>
Subject: Re: gnat executables for Gtk Ada
Date: Fri, 24 Feb 2012 20:31:00 +0100
Date: 2012-02-24T20:30:54+01:00	[thread overview]
Message-ID: <4f47e56e$0$32542$426a34cc@news.free.fr> (raw)
In-Reply-To: <a3c6e530-4a87-4b94-babc-7a546e3d57a1@m7g2000vbw.googlegroups.com>

Le 22/02/2012 16:31, tonyg a �crit :
> 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 ?

I assume you are using GtkAda on Windows.
GTKAda requires several DLL for the C libraries GLib, Pango, Cairo, ATK, 
etc .. found in directory GTKADA\bin
( libgtk-win32-2.0-0.dll, libgdk-win32-2.0-0.dll ..)

You have to ship these DLLs with the application (about 10 Mega)
The switch in scenario (static, relocatable) applies only to the Ada 
part i.e. the Gnat Run-Time and GTKAda.
these DLLs are  libgtkada-2.18.dll and  libgnat-2011.dll

If you build with static you have the Ada run-time and GTKADa
in the executable (which explains the size of at least 1 Mo)
With relocatable you must ship also the corresponding DLLs for Ada.








  parent reply	other threads:[~2012-02-24 19:30 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
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 ` Francois54 [this message]
2012-03-20 12:47 ` 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