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,3869f0598191b11d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!d9c68f36!not-for-mail Message-ID: <40FD0932.5080604@noplace.com> From: Marin David Condic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (OEM-HPQ-PRS1C03) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Porting ADA source References: <40FBBB16.8050206@noplace.com> <40fd03b4$1_1@baen1673807.greenlnk.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 20 Jul 2004 11:59:50 GMT NNTP-Posting-Host: 209.165.22.181 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.atl.earthlink.net 1090324790 209.165.22.181 (Tue, 20 Jul 2004 04:59:50 PDT) NNTP-Posting-Date: Tue, 20 Jul 2004 04:59:50 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news1.google.com comp.lang.ada:2268 Date: 2004-07-20T11:59:50+00:00 List-Id: Right. The only problem being that you are suddenly into rather significantly changing the software. You're repackaging things and restructuring things and you've got to try to set up some kind of configuration control process to accommodate two builds. If you are starting from scratch and you know you have to maintain portability this might be a valid approach (though I've seen this get waaaaayyy overblown too!) But the mission is to take code body X and get it from its existing platform onto another - not redesign the system. Time spent reorganizing the code and setting up a build process does not directly move that mission forward. Hence, it would be nice to get some kind of quick and dirty fix that doesn't mean spending excessive time reworking the existing product. A conditional compilation directive can be that sort of fix. Its just that it is viewed dimly as a sub-optimal formal technique. Oh well.... MDC Martin Dowie wrote: > > The example is for the case where "Cos" is defined but the code > uses "Cosine". For the environment where "Cosine" already exists > you don't need the renames - you can control which version at > build time. > > This can hidden with some sort of wrapper package for both platforms. > > Cheers > > -- Martin > > > -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/NSFrames.htm Send Replies To: m o d c @ a m o g c n i c . r "All reformers, however strict their social conscience, live in houses just as big as they can pay for." --Logan Pearsall Smith ======================================================================