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,c370342fe303517b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!aioe.org!not-for-mail From: Cesar Rabak Newsgroups: comp.lang.ada Subject: Re: C Interface example Date: Sat, 03 Feb 2007 17:59:45 -0200 Organization: Aioe.org NNTP Server Message-ID: References: <1170516037.435847.326440@p10g2000cwp.googlegroups.com> <1170524409.160728.30940@j27g2000cwj.googlegroups.com> NNTP-Posting-Host: EsI5OqmiI//kShIW+CXIWw.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org In-Reply-To: User-Agent: Thunderbird 1.5.0.8 (X11/20061109) Xref: g2news2.google.com comp.lang.ada:8896 Date: 2007-02-03T17:59:45-02:00 List-Id: artifact.one@googlemail.com escreveu: > On Feb 3, 4:19 pm, Cesar Rabak wrote: >> artifact....@googlemail.com escreveu:> Hi. >> >>> I'm having a bit of trouble getting my head around calling C code >>> in Ada. I'll spare you my failed attempts, basically I have this code: >> [snipped] >> >> What compiler(s) are using? > > GNAT. > Get a look at the GNAT User Guide in the Section 2.10 "Mixed Language Programming", specially the item '2.10.1 Interfacing to C' HTH -- Cesar Rabak