On 05/03/2011 12:52 AM, Roland Plüss wrote:
Should this not be the job of the dynamic linker to resolve libraries
instead of the app messing with it?

No, the dynamic does assume that the app know the soname (it is a bad idea to pass things like "libfoo.so" without the full soname to the dynamic linker, because you don't know what ABI you'll get; and anyway it doesn't work for glibc).

So, it is the job of the VM to insulate this from Smalltalk programs. Then they can do

    DLD addLibrary: 'libc'

rather than

    DLD addLibrary: 'libc.so.6'

or

    DLD addLibrary: 'libSystem.dylib'

and so on.

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to