comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Help linking to Octave (mathematical) functions
Date: Mon, 29 Dec 2014 03:21:07 -0600
Date: 2014-12-29T03:21:07-06:00	[thread overview]
Message-ID: <85ioguu7zw.fsf@stephe-leake.org> (raw)
In-Reply-To: 0880c93b-81ff-4aaf-ae3b-91d82f76a23f@googlegroups.com

Jerry <lanceboyle@qwest.net> writes:

>> Despite the documentation said it is like "shared library or shared 
>> object", it is referring to Octave itself "An oct-file is a dynamical 
>> extension of the Octave interpreter".
>> On MacOS, even with GNAT, at the end, all object files are loaded by ld 
>> but I haven't seen that oct files are supported by ld.
>
> That's not good. I wonder if the internal structure of an oct file is
> similar to other files known by ld. I suppose this is a question for
> the Octave developer list.

Yes. Or a Mac list; the problem seems to be with the "bundle" stuff.

Can you try this on a Linux distribution?


Since this is all open source, you could try compiling the bessel
library from source using GNAT, and either creating a more standard
library or just include it in your main project.


Another option is to link the Octave interpreter to the Ada program, and
then tell it to load the oct-file.

There may be an Octave library that lets you do this, hopefully with an
Ada binding available.

-- 
-- Stephe

  reply	other threads:[~2014-12-29  9:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-19 21:31 Help linking to Octave (mathematical) functions Jerry
2014-12-26 11:54 ` Blady
2014-12-28  3:38   ` Jerry
2014-12-29  9:21     ` Stephen Leake [this message]
2014-12-30  3:24       ` Jerry
replies disabled

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