comp.lang.ada
 help / color / mirror / Atom feed
From: Keith Thompson <kst-u@mib.org>
Subject: Re: C and ADA
Date: Wed, 02 Jan 2008 14:47:01 -0800
Date: 2008-01-02T14:47:01-08:00	[thread overview]
Message-ID: <87d4sj26ca.fsf@kvetch.smov.org> (raw)
In-Reply-To: slrnfno496.3gs.nospam@nospam.invalid

Brian <nospam@nospam.invalid> writes:
> 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.

Ada (not "ADA"; it's not an acronym) provides mechanisms for
cross-language calls between Ada and C; C does not.  The folks in
comp.lang.c won't be able to answer your question.  I've redirected
followups just to comp.lang.ada, and I suggest that others do
likewise.

-- 
Keith Thompson (The_Other_Keith) <kst-u@mib.org>
[...]
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"



  parent reply	other threads:[~2008-01-02 22:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02 22:33 C and ADA Brian
2008-01-02 22:44 ` Harald van Dijk
2008-01-02 22:47 ` Keith Thompson [this message]
2008-01-02 23:09 ` Lucretia
2008-01-03  7:38 ` Jerry
  -- strict thread matches above, loose matches on Subject: below --
1998-10-22  0:00 C++ and Ada yuen3785
1998-10-22  0:00 yuen3785
1998-10-23  0:00 ` Jerry van Dijk
1998-10-23  0:00 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox