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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f954bcd9ffa6c26c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-18 07:34:10 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Robert Dewar Newsgroups: comp.lang.ada Subject: Re: Gnat 3.13p: Command_Name RM A.15 Date: Thu, 18 Jan 2001 15:15:10 GMT Organization: Deja.com Message-ID: <94719l$7ph$1@nnrp1.deja.com> References: <200101160612.HAA06787@bulgaria.otn.eurocopter.de> <3A64593A.380F3228@mindspring.com> <94244d$ir2$1@wanadoo.fr> <3A659B05.4FA24A08@mindspring.com> <944r6m$f6d$1@wanadoo.fr> <945ns0$7f7$1@nnrp1.deja.com> <3A66EE38.5637FF37@acm.org> NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Thu Jan 18 15:15:10 2001 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x55.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 X-MyDeja-Info: XMYDJUIDrobert_dewar Xref: supernews.google.com comp.lang.ada:4164 Date: 2001-01-18T15:15:10+00:00 List-Id: In article <3A66EE38.5637FF37@acm.org>, Marin David Condic wrote: > O.K. I'll bite. You have a finite set of host/target > platforms that you support. Why couldn't there be an > enumeration of them & have System_Name > = Linux_Pentium or System_Name = Windows_NT_Pentium? Because that means that every time we add a new target, we invalidate all other targets, which is not acceptable. Since the use of System_Name is compiler dependent in any case, and since it is possible to write target dependent code now in GNAT using compiler dependent approaches, the use of System_Name in the manner you suggest gains nothing in portability, and it does have very nasty consequences. Sent via Deja.com http://www.deja.com/