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,b8f434beacb55075 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news.abs.net!not-for-mail Newsgroups: comp.lang.ada Subject: Re: autotools and ada References: <43842543$2_1@x-privat.org> <43842AD3.2000603@obry.net> From: Stephen Leake Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:azq9bBIg4oqyCHI56DySsnUIg3A= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 23 Nov 2005 05:14:56 -0500 NNTP-Posting-Host: 66.159.65.1 X-Complaints-To: abuse@toad.net X-Trace: news.abs.net 1132740897 66.159.65.1 (Wed, 23 Nov 2005 05:14:57 EST) NNTP-Posting-Date: Wed, 23 Nov 2005 05:14:57 EST Xref: g2news1.google.com comp.lang.ada:6549 Date: 2005-11-23T05:14:56-05:00 List-Id: Pascal Obry writes: > XML/Ada uses the autotools, maybe you should have a look. I have myself > avoided the autotools because this is a pain to use on Windows. With the latest Cygwin distribution, and installing Cygwin at c:/ (that is, / is mounted as c:/, not c:/cygwin), automake works ok on Windows. I have an example project using automake and autoconf on Windows for an Ada project, if anyone is interested. It may be broken with the current tools; I've stopped using it. I found the autotools useful but fragile (they are written in Perl and m4). They are a reasonable solution to the problem of installing projects on diverse systems. One thing they do is encourage the Gnu standard directory structure, which is a good idea. To be fully useful with Ada, there needs to be a shared set of macros written (in m4) for finding and executing GNAT tools (and/or other Ada toolsets). In addition, pkg-config now does some of what autoconf does, and is a better solution for that subset of the problem, because pkg-config has a mechanism for automatically including transitive dependencies. -- -- Stephe