Adriaan van Os wrote:
Frank Heckenbach wrote:
GPC also accepts
procedure Foo; external 'libname' name 'bar';
but ignores 'libname'. It could be supported via automake, but since automake is to be replaced by gp, anyway, it seems pointless to do it now.
The 'libname' is also useful in supporting 'two-level namespaces', where external references record the names of symbols expected to be found in a library along with the library name. This provides an elegant solution for the situation where symbols with the same name are present in different libraries, either at link-time or at run-time.
If you know a way to achieve it, just go ahead. You might need to hack the linker, though ... Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707