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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8295d69277f1696c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.132.81 with SMTP id a17mr369742bkt.4.1336884668586; Sat, 12 May 2012 21:51:08 -0700 (PDT) Path: h15ni2220bkw.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: understanding runtime support Date: Sat, 12 May 2012 21:49:08 -0700 (PDT) Organization: http://groups.google.com Message-ID: <28843126.1576.1336884548623.JavaMail.geo-discussion-forums@ynff7> References: <28695516.0.1336708147839.JavaMail.geo-discussion-forums@pbcqw9> NNTP-Posting-Host: 96.2.54.122 Mime-Version: 1.0 X-Trace: posting.google.com 1336884668 6612 127.0.0.1 (13 May 2012 04:51:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 13 May 2012 04:51:08 +0000 (UTC) In-Reply-To: <28695516.0.1336708147839.JavaMail.geo-discussion-forums@pbcqw9> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=96.2.54.122; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-05-12T21:49:08-07:00 List-Id: As I understand it the "Main" subprogram corresponds to some subprogram in the Ada sources, which (under GNAT) corresponds to subprgram.adb {where 'adb' is the extension for an Ada body}. Furthermore, with the any Ada front-end for GCC it should be possible to use PRAGMA EXPORT with "main" as the link-name to satisfy the C-assumption that 'main' is the default program.