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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,30352abc52760363 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Delphi & Ada; Ada to C++ Date: 1998/02/24 Message-ID: #1/1 X-Deja-AN: 328189366 References: <98022314453684@psavax.pwfl.com> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 888332959 8650 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1998-02-24T00:00:00+00:00 List-Id: Marin said << Where did this particular piece of Urban Lore get started? I seem to recall many years ago that somebody had an Ada83 compiler that generated C as "high level assembler" - Irvine seems to suggest itself, but I wouldn't swear to it. It seems lots of folks "know" this piece of lore and it must have had some basis in fact or legend which has served to keep it going. MDC >> The lore in question is the completely wrong assumptionj that GNAT generates C. In fact I think this comes from three things: 1. The fact that GCC stands for GNU C compiler, and people know GNAT somehow uses GCC. These days, GCC is much more than a C compiler, but the confusion persists. 2. The fact that the T in GNAT used to stand for translator, that was our mistake. We have retained the name, but now take the position that GNAT is not an acronym and stands for nothing. 3. The fact that GNAT has in the past always generated its main program from the binder in C, and you see this C code if you do a list from GDB before doing anything else. The current version of GNAT can also generate the main program in Ada, and we will make this the default at some point. Still, the legend is indeed completely wrong. In no sense does GNAT translate your Ada code into C code. Robert Dewar Ada COre Technologies