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,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!e10g2000prf.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Creating and using Ada packages: need refinement Date: Wed, 26 Mar 2008 03:37:56 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2906e78e-effb-4c99-a331-effdaeb987c5@e10g2000prf.googlegroups.com> References: <1205541163.8209.16.camel@K72> <87fxur8un0.fsf@ludovic-brenta.org> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1206527876 31948 127.0.0.1 (26 Mar 2008 10:37:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 Mar 2008 10:37:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e10g2000prf.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20575 Date: 2008-03-26T03:37:56-07:00 List-Id: Ivan Levashew wrote: > Ludovic Brenta =D0=C9=DB=C5=D4: > > That's ugly. Look at how the Debian Policy for Ada solves the problem > > of using multiple libraries in a single program: > > > > http://www.ada-france.org/debian/debian-ada-policy.html > I can't make my packages just for Debian, however I can ease life of > Debian maintainers. And GNAE documentation was removed from website. I'm > not sure if I can rely on it. You can at least rely on the Debian policy for Ada. It is nice if you make Debian maintainers' lives easier, provided there is a Debian maintainer for your package :) > Adaproject seems to be unmaintained. What is adaproject? > I wasn't able to install it with just ./configure-make-make install. As you have probably guessed, I detest the autotools with a vengeance. They are slow, brittle, cryptic, unmaintainable, subtly incompatible with other versions of themselves, and they exist only to overcome the deficiencies and lack of portability of C and C++. We use Ada. We don't need no stupid autotools. In simple cases, one GNAT project file is sufficient. Nowadays, with gprmake, they can even handle multi- language projects, so even these are "simple cases". In complex cases, a complementary Makefile can call gnatprep or pass variables to the project file e.g. to adjust the contents of the Source_Dirs or package Naming. It can also simply pass build options on the gnatmake or gprmake command line if you need to override or complement the options in package Compiler, Linker or Binder. And this is true on all platforms, except perhaps the most exotic ones like the ones from Redmond, which don't even have "make" by default. > I had an impression that virtually nobody cares about Ada packages' > usage on a non-standard platform like Mac OS X. Mac OS X is much more standard than e.g. Microsoft Windows, and there are people who care about it. They are on http://www.macada.org -- Ludovic Brenta.