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,80a657b612f5bad1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out03b.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Creating and using Ada packages: need refinement From: Georg Bauhaus In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1205541163.8209.16.camel@K72> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Date: Sat, 15 Mar 2008 01:32:44 +0100 Organization: Arcor NNTP-Posting-Date: 15 Mar 2008 01:32:43 CET NNTP-Posting-Host: 9ebde92b.newsspool1.arcor-online.net X-Trace: DXC=1\ODZ]M4k`n[F<50eo:0knic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbejVhh>M0g\4HOGjoC`8N3g3?Xk X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:20404 Date: 2008-03-15T01:32:43+01:00 List-Id: On Sat, 2008-03-15 at 01:09 +0600, Ivan Levashew wrote: > Hello! > > My question is: how to create flexible Ada packages and what should they > look like? You mean the source text? Package source text that needs preprocessing to take this or that shape? > Enlist the make variables, for example. I'm not happy with > what I currently see. Ada packages are not easy to finetune. Project files can evaluate environment variables. See "external" in the project file documentation. > Let's suppose that our project is rather complex. It contains both Ada > and C code and may be C++. ... > So the ./configure script should first look > for gnatgcc. It might be a lot easier to configure configure to just call gnatmake with the appropriate project file.