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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-30 10:06:33 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor References: <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <100upo7ln5e3k59@corp.supernews.com> <400FC8E8.2040100@noplace.com> <4011127C.4030801@noplace.com> <101377e54car5cc@corp.supernews.com> <4017AAEF.1020304@noplace.com> <4018FF55.8030800@noplace.com> <101j4si8uc4taa0@corp.supernews.com> <401A577B.3000904@noplace.com> In-Reply-To: <401A577B.3000904@noplace.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 30 Jan 2004 18:06:33 GMT NNTP-Posting-Host: 63.184.32.120 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1075485993 63.184.32.120 (Fri, 30 Jan 2004 10:06:33 PST) NNTP-Posting-Date: Fri, 30 Jan 2004 10:06:33 PST Xref: archiver1.google.com comp.lang.ada:5112 Date: 2004-01-30T18:06:33+00:00 List-Id: Marin David Condic wrote: > So it might not be that much of a stretch to ask something like gnatmake > to go decide which way to branch in selecting files from two or more > alternate paths within that pile of files. Something as simple as saying > 'gnatmake -buildstring="Go Down Path A"' might be sufficient so long as > there was some way of picking up the "Path A" variants of files via some > language mechanism so that I knew I could take the same pile of files > and hand them off to Janus Ada or Aonix or any other compliant compiler > and know that someone with little familiarity with my pile of code could > use minimal instructions and direct an appropriate build for his platform. There was a posting on gnatlist today about the -X switch to GNAT and the use of project files to accomplish this. One can declare different lists of source directories, each associated with a meaningful identifier. One can then specify an identifier to -X and GNAT will use that list of source directories. This is not portable, but it may serve as a good basis for defining something that could become standard. -- Jeff Carter "Whatever it is, I'm against it." Horse Feathers 46