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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-23 08:50:33 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!frmug.org!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Alexandre E. Kopilovitch" Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor (Was: why ada is so unpopular ?) Date: Fri, 23 Jan 2004 19:38:41 +0300 (MSK) Organization: Cuivre, Argent, Or Message-ID: References: <_JSdna166JuxFo3dRVn-hg@comcast.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1074875913 32522 80.67.180.195 (23 Jan 2004 16:38:33 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 23 Jan 2004 16:38:33 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <_JSdna166JuxFo3dRVn-hg@comcast.com>; from "Robert I. Eachus" at Thu, 22 Jan 2004 21:47:06 -0500 X-Mailer: Mail/@ [v2.44 MSDOS] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:4723 Date: 2004-01-23T19:38:41+03:00 Robert I. Eachus wrote: > ... I think it would be wonderful > to get rid of the type Name in system and add three string constants: > > Operating_System: constant String := implementation_dependent; > Hardware_Architecture: constant String := implementation_dependent; > Compiler: constant String := implementation_dependent; > Version: constant String := implementation_dependent; I think that Compiler string constant (followed by its Version) should be placed first in this sequence to underline the understanding that it is the main key and that the meaning of all other items here (that is, Operating_System and Hardware_Architecture) is relative to the Compiler. Also, it may be useful to duplicate the pair {Operating_System, Hardware_Architecture} - to cover the case of cross-compilation, that is: Compiler: constant String := implementation_dependent; Version: constant String := implementation_dependent; Host_Operating_System: constant String := implementation_dependent; Host_Hardware_Architecture: constant String := implementation_dependent; Target_Operating_System: constant String := implementation_dependent; Target_Hardware_Architecture: constant String := implementation_dependent; Alexander Kopilovitch aek@vib.usr.pu.ru Saint-Petersburg Russia