comp.lang.ada
 help / color / mirror / Atom feed
From: "Ludovic Brenta" <ludovic@ludovic-brenta.org>
Subject: Re: help with include and library files in GPS
Date: 24 Feb 2006 08:18:04 -0800
Date: 2006-02-24T08:18:04-08:00	[thread overview]
Message-ID: <1140797884.417297.166590@t39g2000cwt.googlegroups.com> (raw)
In-Reply-To: m2lkw0epf4.fsf@grendel.local

Simon Wright a écrit :
> (a) the environment variable ADA_PROJECT_PATH tells where to find .gpr
> files

I know, but I generally avoid using environment variables; I put my
build machinery under version control and make sure I can get a
reproducible build from there, without the need for environment
variables. YMMV.

> (b) you could make your gtkada.gpr define a symbol for the library
> path,
>    GTKADALIB := ("/usr/lib/libgtkada.a");
> and then
>      for Default_Switches ("Ada") use gtkada.GTKADALIB;

I already do that for the shared libraries in all Debian packages. I
haven't bothered doing it for the static libraries, since linking
dynamically is so much better - at least in Debian.

-- 
Ludovic Brenta.




  reply	other threads:[~2006-02-24 16:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 16:00 help with include and library files in GPS new
2006-02-23 18:41 ` Martin Krischik
2006-02-23 21:31   ` new
2006-02-23 21:49     ` Ludovic Brenta
2006-02-24 15:39       ` Simon Wright
2006-02-24 16:18         ` Ludovic Brenta [this message]
2006-02-24 10:33     ` Stephen Leake
2006-02-24 18:51     ` Martin Krischik
2006-02-24 20:42       ` new
2006-02-25 14:38   ` OT: " Steve
2006-02-26  9:35     ` Martin Krischik
2006-02-26 13:15       ` Larry Kilgallen
2006-02-27  2:13       ` Steve
2006-02-27  4:04         ` Jeffrey R. Carter
2006-02-27 14:22           ` Larry Kilgallen
2006-02-27 16:25             ` Larry Kilgallen
2006-02-27 16:58             ` Martin Krischik
2006-02-27 18:35             ` Jeffrey R. Carter
2006-02-27 16:48         ` Martin Krischik
2006-02-23 20:33 ` Simon Wright
replies disabled

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