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!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Autoconf & gnat Help Needed Date: Sat, 24 Apr 2010 02:11:22 +0200 Organization: A noiseless patient Spider Message-ID: <871ve53e1h.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 24 Apr 2010 00:11:22 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="pRooMe26FXr3TTiODiMlug"; logging-data="7738"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fFptFAix1R1gmNgT9vDgW" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:PV5noZWUscku9Brf5mkHDVMmuZw= sha1:IZoZ/yn3/vraVQGDiu3TsbA/FFE= Xref: g2news1.google.com comp.lang.ada:10179 Date: 2010-04-24T02:11:22+02:00 List-Id: 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 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. > > I just feel that if an Ada (gnat) based project is going > to gain any package-level respect from the maintainers > of Debian/etc., it will need to be autoconf ready. On the contrary; in most of my Debian packages, I bypass the brittle autocrap, evil recursive makefiles (that do not play well with the parallel build support in gnatmake) 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. I can do that because I do not care about portability to platforms other than Debian and because I can control precisely the build-dependencies. But I do care about portability of Debian across hardware architectures and kernels; I don't need autocrap for this because Ada is very portable. > This becomes especially crucial when you try to make the project build > under HPUX, Solaris, AIX and OSX in addition to usual Linux/*BSD > lineup. The environments are different enough to frustrate any simple > minded configuration management system. That's correct but assumes you want to take the burden of doing all this by yourself. -- Ludovic Brenta.