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,6426898aedaa5880 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Pragma for conditional compilation? (Ada 2005 vs. 95) Date: Fri, 28 Sep 2007 18:08:55 +0200 Organization: Adalog Message-ID: <1v8jdf.rc4.ln@hunter.axlog.fr> References: <1190879769.361848.188220@22g2000hsm.googlegroups.com> <1190929570.915553.284000@19g2000hsx.googlegroups.com> <4p1jdf.ssa.ln@hunter.axlog.fr> <1190993095.488093.244130@r29g2000hsg.googlegroups.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1190998866 29665 195.25.228.57 (28 Sep 2007 17:01:06 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 28 Sep 2007 17:01:06 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <1190993095.488093.244130@r29g2000hsg.googlegroups.com> Xref: g2news2.google.com comp.lang.ada:2192 Date: 2007-09-28T18:08:55+02:00 List-Id: Ludovic Brenta a �crit : > Jean-Pierre Rosen writes: >> Library package renaming is a way to achieve the same effect without >> resorting to CM. > > But what if you want to maintain two versions of the software in > parallel, like the OP does? You'll want two versions of the renaming. > I don't see how you'd do that without some sort of configuration > management system. OK, maybe I'm biased: I haven't worked without a > configuration management system since 1999 :) > If you have something like: with OS_Services_Linux; package OS_Services renames OS_Services_Linux; You certainly need to edit the source to move to -say- a Windows version, but I claim that it is not much more work than changing the value of a variable in a Make file.... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr