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?