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