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,f954bcd9ffa6c26c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-17 11:28:19 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Gnat 3.13p: Command_Name RM A.15 Date: 17 Jan 2001 14:17:00 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <200101160612.HAA06787@bulgaria.otn.eurocopter.de> <3A64593A.380F3228@mindspring.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 979759784 9857 128.183.220.71 (17 Jan 2001 19:29:44 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 17 Jan 2001 19:29:44 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 Xref: supernews.google.com comp.lang.ada:4115 Date: 2001-01-17T19:29:44+00:00 List-Id: Marin David Condic writes: > > You might try writing something that attempts to detect the type of system it is > running on and then parse the command line accordingly. Unfortunately, I know of no > *standard* way of doing that. 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. -- -- Stephe