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,12c54a0f5a27d882 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.mv.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Autoconf & gnat Help Needed Date: Mon, 26 Apr 2010 14:30:25 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <871ve53e1h.fsf@ludovic-brenta.org> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1272306613 6232 192.74.137.71 (26 Apr 2010 18:30:13 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 26 Apr 2010 18:30:13 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:MTUVNlQWnaKK6zuwrkS371H5ems= X-Original-Bytes: 2687 Xref: g2news1.google.com comp.lang.ada:10216 Date: 2010-04-26T14:30:25-04:00 List-Id: Ludovic Brenta writes: > Warren writes: > >> Vadim Godunko expounded in news:d50d540f-8fdf-40ae-9301- >> 4958c6bdff4f@q15g2000yqj.googlegroups.com: >> >>> On Apr 21, 11:54pm, Warren wrote: >>>> Has anyone here had experience using GNAT with autoconf/automake? I have. It's a nightmare, as others have said. If you absolutely must use these tools, I suggest you minimize their use. Most of what you need can be done using gprbuild, which can be called from a make file (preferably hand written, not generated via 37 levels of confusing tools). > >> I used them long time ago. I don't known any project which still use > >> them now, but them was used in old versions of PolyORB and QtAda. PolyORB still uses autoconf, but I got rid of automake, which was a big improvement. > On the contrary; in most of my Debian packages, I bypass the brittle > autocrap, evil recursive makefiles... Here's a paper, "Recursive Make Considered Harmful": http://miller.emu.id.au/pmiller/books/rmch/ which explains why recursive makefiles are evil, and how to do it right. (Of course, most of what make does is done better by gprbuild -- but not everything.) >... (that do not play well with the > parallel build support in gnatmake)... Not just that. Recursive make files don't even work well with make -- they are grossly inefficient. Even more so under cygwin. >...and unmaintainable libtool mess in > favour of a single, simple, hand-written makefile and one GNAT project > file. This works MUCH better in my experience. - Bob