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 Path: g2news1.google.com!postnews.google.com!t39g2000cwt.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: help with include and library files in GPS Date: 24 Feb 2006 08:18:04 -0800 Organization: http://groups.google.com Message-ID: <1140797884.417297.166590@t39g2000cwt.googlegroups.com> 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: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1140797889 8507 127.0.0.1 (24 Feb 2006 16:18:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 24 Feb 2006 16:18:09 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.6) Gecko/20040116,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SEVPXS01 Complaints-To: groups-abuse@google.com Injection-Info: t39g2000cwt.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news1.google.com comp.lang.ada:3139 Date: 2006-02-24T08:18:04-08:00 List-Id: Simon Wright a =E9crit : > (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 :=3D ("/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. --=20 Ludovic Brenta.