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: 103376,60bd6bcf946ebe3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!j44g2000cwa.googlegroups.com!not-for-mail From: rodkay@dodo.com.au Newsgroups: comp.lang.ada Subject: Re: Ada (GNAT) and GNU Scientific Library Date: 21 Nov 2006 02:58:20 -0800 Organization: http://groups.google.com Message-ID: <1164106700.878546.180020@j44g2000cwa.googlegroups.com> References: <87odr7zgnn.fsf@ludovic-brenta.org> <1163768283.498569.179310@f16g2000cwb.googlegroups.com> <1163798903.068167.254550@f16g2000cwb.googlegroups.com> <1163842895.829193.152890@h54g2000cwb.googlegroups.com> <7if334-bsm.ln1@newserver.thecreems.com> NNTP-Posting-Host: 58.163.88.116 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1164106706 2889 127.0.0.1 (21 Nov 2006 10:58:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Nov 2006 10:58:26 +0000 (UTC) In-Reply-To: <7if334-bsm.ln1@newserver.thecreems.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/48 (like Gecko) Safari/48,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: j44g2000cwa.googlegroups.com; posting-host=58.163.88.116; posting-account=566NuA0AAAD7iWzPbtXulrcGbAD2wGwm Xref: g2news2.google.com comp.lang.ada:7598 Date: 2006-11-21T02:58:20-08:00 List-Id: Jeffrey Creem wrote: > george@gentoo.org wrote: > > There were also announcements of an ongoing effort to produce a SWIG > > module, however my understanding is that is not yet finished (and IIRC > > it aims at C++ bindings). > > Actually, SWIG will bind to more than just C++. It really is a N-way > language binding generator. I've not checked the progress recently (the > work is being done in the SVN repository of of the GNUAda project on > sourceforge). The SWIG ada & gnat modules should both handle C, as well. Apologies to anyone who has tried to download SWIG from the GNUAda project recently. There have not been any updates for some time. Hopefully a batch of updates will go into svn within the next few days. Apologies also to anyone attempting contact at my former email address. I've made a small start on a SWIG/gnat interface file for the GSL. Currently, only 'block's and 'vector's are covered, although adding the rest should not prove too difficult. Also, file IO functions have been 'ignored' (are not available), since the SWIG/gnat module does not cope with these at the moment. The sample GSL binding is available via ... svn co svn://58.163.88.116/anvil/gsl ... and contains the SWIG interface file, a set of pre-generated bindings, and a small test harness. To build the test harness or use the bindings, you also need a single 'swig.ads' file ... svn co svn://58.163.88.116/anvil/contrib/trunk/source/swig.ads The bindings have been tested with gnat-gpl-2006 on Linux, although not extensively. regards.