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,b835c51e959b1e0a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: libgtkada2.14.2 on Ubuntu 10.04 Date: Fri, 24 Sep 2010 08:08:17 +0200 Organization: A noiseless patient Spider Message-ID: <8739sz8yi6.fsf@ludovic-brenta.org> References: <87eick8bti.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Fri, 24 Sep 2010 06:08:16 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="SY0Arv91K92l1wpvhwAs2g"; logging-data="7396"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zvwtWHD1g4dwj+Vdv9QYw" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:tMcGirWLKYwLSMEoZHkxlAPEWSs= sha1:ZL9MQkMhFd4kY4qL0tZVvS0uHiQ= Xref: g2news1.google.com comp.lang.ada:14217 Date: 2010-09-24T08:08:17+02:00 List-Id: "John B. Matthews" writes: >> Is it impractical for you to use GNAT project files? The Debian >> compiler is patched so that >> >> with "gtkada"; >> project Example is >> for Main use ("example"); >> end Example; >> >> will work out of the box; see the file >> /usr/share/ada/adainclude/gtkada.gpr. > > Excellent! It works well; thanks. Am I correct that 'with "gtkada"' > refers to /usr/share/ada/adainclude/gtkada.gpr itself? Yes, correct. When I said the compiler was patched, it was so that it looked in that directory, by default, for project files. The big advantage of Debian is that it requires that each library provide such a project file; thus it is trivial to use all libraries that you need in the same program: simply add more with clauses to your project. -- Ludovic Brenta.