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-Thread: 1014db,9a2aaa729f5fbd16,start X-Google-Thread: 103376,9a2aaa729f5fbd16,start X-Google-Attributes: gid1014db,gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.n-ix.net!news2.arglkargh.de!news.mixmin.net!aioe.org!not-for-mail From: Brian Newsgroups: comp.lang.c,comp.lang.ada Subject: C and ADA Followup-To: comp.lang.c,comp.lang.ada Date: Wed, 2 Jan 2008 23:33:10 +0100 (CET) Organization: Aioe.org NNTP Server Message-ID: NNTP-Posting-Host: DkLRw6I/qtQl1xUv+v5DDg.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: slrn/0.9.8.1pl1 (Debian) Xref: g2news1.google.com comp.lang.c:154107 comp.lang.ada:19156 Date: 2008-01-02T23:33:10+01:00 List-Id: Hi I have an ADA function that I'd like to call from my C program. Is there any way to provide a .h file containing a C prototype for the ADA function and then link the ADA with the C? Does anyone have any experience of this? I'm using a GNU setup on Linux. Thanks.