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:29:31 PST Date: Tue, 26 Mar 2002 18:17:47 +0800 From: Adrian Hoe Organization: AdrianHoe.com X-Mailer: Mozilla 4.7C-CCK-MCD Caldera Systems OpenLinux [en] (X11; I; Linux 2.2.10 i586) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: rendez-vous underlying mechanism References: <3c9fc639_2@news.tm.net.my> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: mlk-195-111.tm.net.my X-Original-NNTP-Posting-Host: mlk-195-111.tm.net.my Message-ID: <3ca03f16$1_2@news.tm.net.my> X-Trace: news.tm.net.my 1017134870 mlk-195-111.tm.net.my (26 Mar 2002 17:27:50 +0800) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news1.tm.net.my Xref: archiver1.google.com comp.lang.ada:21677 Date: 2002-03-26T18:17:47+08:00 List-Id: 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. -- Remove *nospam* to e-mail me. -- Adrian Hoe -- http://adrianhoe.com