comp.lang.ada
 help / color / mirror / Atom feed
From: Jeff C <jcreem@yahoo.com>
Subject: Re: [GNAT]  Importing a C/C++ library from within Ada?
Date: Sat, 23 Apr 2005 16:35:57 -0400
Date: 2005-04-23T16:35:57-04:00	[thread overview]
Message-ID: <DPydnbuf08o8LPffRVn-uA@comcast.com> (raw)
In-Reply-To: <mailman.68.1114272624.24457.comp.lang.ada@ada-france.org>

Rod Kay wrote:
> Today 01:11:23 am
> 
> On Thu, 21 Apr 2005 05:52 am, conradwt@runbox.com wrote:
> 
>>Hi, I was wondering, is there an efficient way to import a C/C++
>>library withing Ada on Linux platform using GNAT.  I simply like to be
>>able to access the functions/methods from Ada.
>>
> 
> 
>     I'm in the middle of building an Ada module for SWIG, which will generate 
> Ada bindings to C/C++ librarys.
> 

That is encouraging.. While I have not used SWIG 
(http://www.swig.org/exec.html) at all it looks like a nice idea. I've 
been spoiled a bit by gnatcom's ability to auto generate COM bindings so 
I am always a little put off when I have to hand bind to something under 
Linux.



  reply	other threads:[~2005-04-23 20:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 19:52 [GNAT] Importing a C/C++ library from within Ada? conradwt
2005-04-20 20:11 ` Frank J. Lhota
2005-04-23 16:04 ` Rod Kay
2005-04-23 20:35   ` Jeff C [this message]
2005-04-25  7:50   ` Alex R. Mosteo
2005-04-26  1:07     ` Rod Kay
2005-04-26  9:52       ` Alex R. Mosteo
2005-04-26 11:48         ` Rod Kay
replies disabled

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