From: Simon Wright <simon@pushface.org>
Subject: Re: gnat executables
Date: Thu, 23 Feb 2012 08:37:00 +0000
Date: 2012-02-23T08:37:00+00:00 [thread overview]
Message-ID: <m262eykksz.fsf@pushface.org> (raw)
In-Reply-To: nospam-B77D48.22381522022012@news.aioe.org
"John B. Matthews" <nospam@nospam.invalid> writes:
> In article <qgcucdi2xnvo.18zbqxljktrbk.dlg@40tude.net>,
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote:
>
>> additionally, specifically regarding gtkada, there should be
>> gtkada-config script installed, which spits switches for the linker
>> and compiler. To be used like:
>>
>> $ gnatmake ... -largs `gtkada-config --libs --static` ...
>>
>> See gtkada-config --help
>
> There's an example Makefile here:
>
> <http://home.roadrunner.com/~jbmatthews/gtk/lady.html>
I don't think AdaCore are 100% consistent on this, but they have used
an environment variable LIBRARY_TYPE to control GPRs: for example, (one
of mine),
project BC is
type Library_T is ("static", "relocatable");
Library_Type : Library_T := external ("LIBRARY_TYPE", "static");
for Library_Name use "bc";
for Library_Kind use Library_Type;
for Library_Dir use "../../lib/bc/lib-" & Library_Type;
for Externally_Built use "true";
for Source_Dirs use ("../../include/bc/");
end BC;
next prev parent reply other threads:[~2012-02-23 8:37 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 [this message]
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