Re: autotools and ada



Georg,

> This work can be alleviated in Unix(-like) environments only.
>
> $ variable=`program1 | program2 'parameters'`

No this can't be :)

One interresting feature of Makefile is that it "documents" the build
processes: how to configure the project, how to build the differents
modules (some can be C, Java, Ada...), how to build a distrib tarball,
how to install the project, how to run non regression tests... and lot more.

You'll probably agree that it is far better to do:

$ make build test

Than to look at the documentation or remmember a set of commands to do
the same... and this also avoid procedure mistakes... you know that you
are running the tests the very same way each time!

Using the makefiles to build automatically projects using cron-script or
running the tests is then quite easy...

Frankly I do not see what is wrong with makefile and Ada. It is quite
easy to use and brings a lot to the project. Lot of mess that C/C++
projects needs for files dependancies are not needed here, neither the
right CC, CFLAGS or whatever. Use the make tools from your Ada vendor
(gnatmake for example).

Now you can use makefile without the autotools which I find quite hard
to grasp ;)

Pascal.

--

--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
.