From maintainers-request at octave dot org Fri Feb 17 07:21:42 2006 Subject: "oct files" within the embedder From: Sebastien Loisel To: David Bateman , octave maintainers mailing list Date: Fri, 17 Feb 2006 14:19:58 +0100 ------=_Part_18524_2378377.1140182398970 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline David, If I mkoctfile foo.cpp -o foo.oct then I get a function in octave, called foo, that I can call. However, if instead I g++ foo.cpp -o foo.o and then statically link foo.o into my embedder, the function isn't visible in octave. Is there a way for my embedder to add it to the namespace, or am I better off just making oct files? Cheers, S=E9bastien Loisel ------=_Part_18524_2378377.1140182398970 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline David,

If I mkoctfile foo.cpp -o foo.oct then I get a function in oc= tave, called foo, that I can call. However, if instead I g++ foo.cpp -o foo= .o and then statically link foo.o into my embedder, the function isn't visi= ble in octave. Is there a way for my embedder to add it to the namespace, o= r am I better off just making oct files?

Cheers,

S=E9bastien Loisel
------=_Part_18524_2378377.1140182398970--