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-17 19:41:23 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!newsgate.cistron.nl!newsfeeds.belnet.be!news.belnet.be!sunqbc.risq.qc.ca!logbridge.uoregon.edu!news.maxwell.syr.edu!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 03:31:33 GMT Organization: Deja.com Message-ID: <945o2m$7i6$1@nnrp1.deja.com> References: <200101160612.HAA06787@bulgaria.otn.eurocopter.de> <3A64593A.380F3228@mindspring.com> NNTP-Posting-Host: 205.232.38.14 X-Article-Creation-Date: Thu Jan 18 03:31:33 2001 GMT X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; U) X-Http-Proxy: 1.0 x57.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:4135 Date: 2001-01-18T03:31:33+00:00 List-Id: In article , Stephen Leake wrote: > System.System_Name should do the trick No, it cannot "do the trick" because it would imply that all Ada compilers must know about all other Ada compilers. Even within the GNAT world, it would mean that every GNAT port must know about all other ports, i.e. that if we introduced one port, then all other ports would have to be modified. This is clearly impractical > but unfortunately, GNAT > _always_ returns SYSTEM_NAME_GNAT for this, no matter what > system it is on. But it is certainly possible to conditionalize GNAT code depending on the system on which it is running (this is done in the GNAT runtime). Suppose that there *were* different SYSTEM_NAME values, it would not help you write portable code, since the names would still be tied to GNAT. Sent via Deja.com http://www.deja.com/