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:16 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:16:37 GMT Organization: Deja.com Message-ID: <9471cb$7s5$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 15:16:37 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:4165 Date: 2001-01-18T15:16:37+00:00 List-Id: In article , Stephen Leake wrote: > System.System_Name should do the trick, but unfortunately, GNAT > _always_ returns SYSTEM_NAME_GNAT for this, no matter what system it > is on. I guess it's too hard to get it right? On problem would be that > the _same_ executable can run on several different systems, so some > sort of OS call would be required. You can't do an OS call!!!!! This is a static constant that you can access at compile time. That's the problem with this feature, it is very broken. Sent via Deja.com http://www.deja.com/