From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a5f87a50bf9eecc7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news2.volia.net!news.newsland.it!proxad.net!proxad.net!news.clara.net!wagner.news.clara.net!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: help with include and library files in GPS Date: Fri, 24 Feb 2006 15:39:59 +0000 Organization: Pushface Message-ID: References: <1140710414.054668.201470@z34g2000cwc.googlegroups.com> <1392397.TMLNCp2Aq0@linux1.krischik.com> <1140730318.270710.16040@i39g2000cwa.googlegroups.com> <87zmkhn3tt.fsf@ludovic-brenta.org> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1140795599 25809 62.49.19.209 (24 Feb 2006 15:39:59 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 24 Feb 2006 15:39:59 +0000 (UTC) Cancel-Lock: sha1:ckJdRm9dyqcaU7xMBPt6HGMTEi0= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:3138 Date: 2006-02-24T15:39:59+00:00 List-Id: Ludovic Brenta 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;