comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: [GNAT]  Importing a C/C++ library from within Ada?
Date: Mon, 25 Apr 2005 09:50:13 +0200
Date: 2005-04-25T09:50:13+02:00	[thread overview]
Message-ID: <426CA135.4030400@mailinator.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.

Excellent!

>     The module is still in the early stages, but can produce bindings 
> (currently rather ugly ones) for very simple C and C++ libraries. 
> 
>     After I work through a majority of the SWIG test suite, and clean up the 
> code, the module should go into the SWIG cvs, and be available for general 
> use.

Please give a heads-up when that happens. I'm very interested on it.

>     The initial release will provide support for all of C and simple 
> inheritance in C++. Exceptions and multiple inheritance, will be catered for 
> in later versions.

Will this module generate bindings for any compiler or gnat specific?



  parent reply	other threads:[~2005-04-25  7:50 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
2005-04-25  7:50   ` Alex R. Mosteo [this message]
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