comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Creating and using Ada packages: need refinement
Date: Wed, 26 Mar 2008 03:37:56 -0700 (PDT)
Date: 2008-03-26T03:37:56-07:00	[thread overview]
Message-ID: <2906e78e-effb-4c99-a331-effdaeb987c5@e10g2000prf.googlegroups.com> (raw)
In-Reply-To: fsd4lr$lk3$1@registered.motzarella.org

Ivan Levashew wrote:
> Ludovic Brenta пишет:
> > 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.



  reply	other threads:[~2008-03-26 10:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14 19:09 Creating and using Ada packages: need refinement Ivan Levashew
2008-03-15  0:32 ` Georg Bauhaus
2008-03-15  2:50   ` Ivan Levashew
2008-03-15 17:10     ` Simon Wright
2008-03-15 18:26       ` Ivan Levashew
2008-03-15 22:55         ` Ludovic Brenta
2008-03-16  1:52           ` Ivan Levashew
2008-03-26  9:30           ` Ivan Levashew
2008-03-26 10:37             ` Ludovic Brenta [this message]
2008-03-26 15:43               ` Ivan Levashew
2008-03-26 20:30                 ` Ludovic Brenta
2008-03-28 12:00                   ` Ivan Levashew
2008-03-28 15:31                     ` Eric Hughes
2008-03-28 15:51                     ` Georg Bauhaus
2008-03-28 19:06                     ` Steve Whalen
2008-03-30 11:11                       ` Ivan Levashew
2008-03-31 19:04                         ` Steve Whalen
2008-03-26 10:44             ` Georg Bauhaus
2008-03-26 15:32               ` Ivan Levashew
2008-03-26 15:48                 ` Ivan Levashew
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox