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,80a657b612f5bad1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 26 Mar 2008 11:44:04 +0100 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Creating and using Ada packages: need refinement References: <1205541163.8209.16.camel@K72> <87fxur8un0.fsf@ludovic-brenta.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <47ea28f5$0$23692$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 26 Mar 2008 11:44:05 CET NNTP-Posting-Host: c0e08158.newsspool2.arcor-online.net X-Trace: DXC=Ehclbbh4PG@C4i^e1BZ=_HA9EHlD;3YcB4Fo<]lROoRAFl8W>\BH3YB6S>C;m7=``K;9OJDO8_SKFNSZ1n^B98iJQIZcRkEPYRC X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:20576 Date: 2008-03-26T11:44:05+01:00 List-Id: Ivan Levashew schrieb: > I'd like to make my Ada > packages OS-agnostic but easily tunable for my OS. Have ./configure write a tuned Makefile that hands the right Env-Parameters to GNAT project files. E.g. make the Makefile set a variable for choosing the correct OS-specific directories containing package bodies for the respective OS. Why configure compiler switches beyond basic things? These setting change frequently for little effect. I don't see how autotools-AI could possibly help, and with what. Automake has created so many problems already, in particular in the long run. So to demonstrate that configure can be used with Ada, too, a simple setup should work well. Basically, a stripped down config.guess should really be sufficient. This is not C where people insist on supporting broken runtimes of the 1970s in new, portable software.