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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 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 06:16:12 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out.usenetserver.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!news.mindspring.net!not-for-mail From: Marin David Condic Newsgroups: comp.lang.ada Subject: Re: Gnat 3.13p: Command_Name RM A.15 Date: Thu, 18 Jan 2001 09:13:33 -0500 Organization: MindSpring Enterprises Message-ID: <3A66FA0D.E5CFC380@acm.org> References: <200101160612.HAA06787@bulgaria.otn.eurocopter.de> <3A64593A.380F3228@mindspring.com> <945o2m$7i6$1@nnrp1.deja.com> NNTP-Posting-Host: d1.56.b8.d5 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 18 Jan 2001 14:15:21 GMT X-Mailer: Mozilla 4.07 [en] (WinNT; I) Xref: supernews.google.com comp.lang.ada:4153 Date: 2001-01-18T14:15:21+00:00 List-Id: But at least you could take code developed on a Sun with GNAT and move it to a PC with GNAT and account for the differences in how the two platforms work. (File names, command line parameters, etc.) I've been in this situation before and was very glad that GNAT worked so consistently across both platforms. I may have had more trouble moving, say, from GNAT/Unix to Aonix/PC, but that wasn't what I was doing. Having some way to detect which platform I was on, may have helped me reduce the porting issues even further. Just because a thing isn't perfectly portable across all possible compilers and platforms, doesn't mean it wouldn't be useful to have. MDC Robert Dewar wrote: > 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. -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ======================================================================