[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dynamically Linked Functions
From: |
Ted Harding |
Subject: |
Dynamically Linked Functions |
Date: |
Sun, 26 Mar 1995 19:28:22 +0200 (BST) |
The Octave manual (section 5.8) says that Octave can "dynamically load
and execute functions .. on systems that have a working version of the
GNU dynamic linker dld. ... it should not be too hard to make Octave's
dynamic linking features work on other systems using system-specific
dynamic linking facilties."
Two questions:
1. Since Octave seems to use "ld.so" in Linux to load the "f2c" libraries,
is "ld.so" OK for this purpose in general?
2. If "yes" to 1, suppose I wanted to make the given example function
"hello" executable from Octave.
a) How should this be compiled? What include files are required with
ld.so and is there anything else one should make sure of?
b) How does one make Octave aware of the existence of the new function?
(I assume it would be called by "hello(arg1, arg2, ... , argn)").
Ted. (address@hidden)
- Dynamically Linked Functions,
Ted Harding <=