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,c2dda499a002ec3c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-26 01:35:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!isdnet!news.dotcom.fr!news.fr.ipricot.com!not-for-mail From: tgingold@pc204.ipricot.fr Newsgroups: comp.lang.ada Subject: Re: rendez-vous underlying mechanism Date: Tue, 26 Mar 2002 09:31:26 +0000 (UTC) Organization: IPricot Inc. Message-ID: References: <3c9fc639_2@news.tm.net.my> <3ca03f16$1_2@news.tm.net.my> NNTP-Posting-Host: tgingold.fr.ipricot.com X-Trace: mo5.fr.ipricot.com 1017135086 50376 192.168.31.202 (26 Mar 2002 09:31:26 GMT) X-Complaints-To: news@ipricot.com NNTP-Posting-Date: Tue, 26 Mar 2002 09:31:26 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Win32) Xref: archiver1.google.com comp.lang.ada:21678 Date: 2002-03-26T09:31:26+00:00 List-Id: In article <3ca03f16$1_2@news.tm.net.my>, Adrian Hoe wrote: > Simon Wright wrote: >> >> Adrian Hoe writes: >> >> > Why C? Ada allows you to define tasks explicitly compare to C. GNAT >> > is actually "translating" Ada to C. So, you can use GNAT to generate >> > C code and then examine it. I can't actually remember how to have >> > the C translation. I had it once some time ago after an incomplete >> > installation of GNAT. :) >> >> Very mysterious, GNAT has never translated to C. You can see the >> _assembler_ output using -S (like most? all? GCC compilers). >> >> If you are using GNAT, why not look at the RTS source? (mostly in Ada). > > > Strange. I got a C file somehow produced by GNAT which I did not > properly installed. It was 3.10 if I remember correctly. At that time I > was just trying to compile a simple "Hello World" program. My memory > could serve me wrong but I am damned sure I got a C source file in my > test directory which contained only an .adb file. That was certainly the C file generated by the binder. The current version of GNAT generates an Ada file by default. Tristan.