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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e552d8828cec1fc7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 22 Jul 2008 21:23:10 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <334c1c0a-0c49-49d3-b03b-867c2288159c@25g2000hsx.googlegroups.com> Subject: Re: Is it possible to translate ada program to C using GCC or other tools? Date: Tue, 22 Jul 2008 19:23:12 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-RFC2646: Format=Flowed; Original Message-ID: X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 24.20.111.206 X-Trace: sv3-a8OMj0ruM29+Az8LYN9CzVMxjzT073neyCFoHe9bh6ARw49/dCPwnU4MpSWwpMJhJlSulg9c7Kf6AxT!F8idc4SyI4yKqBp9fX0JebaRrTwUNMFtFUqeZc/bspiMQBboBWsTIkmsvRGpYJuozfoqNE5VzjzI!uhzMkTfDV2XnX3tT+DralD5Byh1h/g== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news2.google.com comp.lang.ada:6999 Date: 2008-07-22T19:23:12-07:00 List-Id: wrote in message news:334c1c0a-0c49-49d3-b03b-867c2288159c@25g2000hsx.googlegroups.com... > Hi all, > I would like to investigate on how ada's protected object and > tasking features are implemented with C/pthread. Is it possible to use > gcc(or other tools) to do the translation? > Hi, pthread isn't C. pthread is machine code. The source code may have been in C (or any other programming language for that matter) but you don't execute C. Back in the olden days they used to document OS interface calls in a programming language independent manner, that made it a little clearer. At any rate, while the following information is somewhat outdated, you may find it useful: http://www.iuma.ulpgc.es/users/jmiranda/ Regards, Steve > thanks. > > tony