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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.131.200 with SMTP id oo8mr40329970obb.40.1419737891109; Sat, 27 Dec 2014 19:38:11 -0800 (PST) X-Received: by 10.50.97.99 with SMTP id dz3mr509828igb.1.1419737891012; Sat, 27 Dec 2014 19:38:11 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!h15no18224153igd.0!news-out.google.com!h6ni4819igv.0!nntp.google.com!h15no31567688igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 27 Dec 2014 19:38:10 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=97.117.194.10; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG NNTP-Posting-Host: 97.117.194.10 References: <74a567c4-eb60-4bc1-b03a-4c3a7be7676f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0880c93b-81ff-4aaf-ae3b-91d82f76a23f@googlegroups.com> Subject: Re: Help linking to Octave (mathematical) functions From: Jerry Injection-Date: Sun, 28 Dec 2014 03:38:11 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:24250 Date: 2014-12-27T19:38:10-08:00 List-Id: On Friday, December 26, 2014 4:54:55 AM UTC-7, Blady wrote: Thanks, Pascal. > Hello Jerry, >=20 > Despite the documentation said it is like "shared library or shared=20 > object", it is referring to Octave itself "An oct-file is a dynamical=20 > extension of the Octave interpreter". > On MacOS, even with GNAT, at the end, all object files are loaded by ld= =20 > 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 simil= ar to other files known by ld. I suppose this is a question for the Octave = developer list. >=20 > In the documentation it is specified at =A71.1.3.5. Running: "If the=20 > oct-file is in the LOADPATH, it will be loaded automatically - either=20 > when requesting help on the function or when invoking it directly." >=20 > Have you set LOADPATH to your bessel library? Your comment seems to apply to using Octave itself to find the oct file so = that Octave can load the file when it needs it. (To answer your question, N= o, I haven't, but I suppose the Octave installer did since Octave finds the= se files.) I'm trying to link the oct file to an Ada program. Is not LOADPA= TH an Octave-only concept? Jerry >=20 > HTH, Pascal. >=20 > Le 19/12/2014 22:31, Jerry a =E9crit :