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!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!d9c68f36!not-for-mail Message-ID: <40FBBB16.8050206@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: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 19 Jul 2004 12:14:15 GMT NNTP-Posting-Host: 165.247.66.215 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.atl.earthlink.net 1090239255 165.247.66.215 (Mon, 19 Jul 2004 05:14:15 PDT) NNTP-Posting-Date: Mon, 19 Jul 2004 05:14:15 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news1.google.com comp.lang.ada:2230 Date: 2004-07-19T12:14:15+00:00 List-Id: Part of the problem seems to be that the OP is working with existing code that nobody apparently thought needed to be portable. Trying to dramatically restructure the code at this stage starts becoming problematic. Portability can be achieved, but only if you work really hard at it from the start. Of course there might be easier fixes to the problem now if Ada had some kind of conditional compilation directive - but since those are viewed as "Morally Evil" I guess people stuck with practical problems should just go use a different language. :-) MDC Dale Stanbrough wrote: > > > One solution is to just have a package spec with different bodies > for each host. You could inline the code so it wouldn't be any slower. > You would have to use your configuration tools to help you choose one > or the other. -- ====================================================================== 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 ======================================================================