comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: help with include and library files in GPS
Date: Fri, 24 Feb 2006 15:39:59 +0000
Date: 2006-02-24T15:39:59+00:00	[thread overview]
Message-ID: <m2lkw0epf4.fsf@grendel.local> (raw)
In-Reply-To: 87zmkhn3tt.fsf@ludovic-brenta.org

Ludovic Brenta <ludovic@ludovic-brenta.org> writes:

> In your project file, reference the exact location of libgtkada.a,
> like so:
>
> with "/usr/share/ada/adainclude/gtkada.gpr";
> project Blah is
> ...
>    package Linker is
>       for Default_Switches ("Ada") use ("/usr/lib/libgtkada.a");
>    end Linker;
> end Blah;

(a) the environment variable ADA_PROJECT_PATH tells where to find .gpr
files

(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;



  reply	other threads:[~2006-02-24 15:39 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 [this message]
2006-02-24 16:18         ` Ludovic Brenta
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