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 16:54:04 PST Message-ID: <3CA12387.6B511691@adrianhoe.com> Date: Wed, 27 Mar 2002 09:42:31 +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> <3ca03f16$1_2@news.tm.net.my> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: mlk-197-172.tm.net.my X-Original-NNTP-Posting-Host: mlk-197-172.tm.net.my X-Trace: news.tm.net.my 1017190207 mlk-197-172.tm.net.my (27 Mar 2002 08:50:07 +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:21708 Date: 2002-03-27T09:42:31+08:00 List-Id: 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. > -- Ok. I am wrong and I owe everyone an apology for my stupidity. :) -- -- Adrian Hoe -- http://adrianhoe.com