help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] gnu-smalltalk 3.4.2 build fails (+ issue tracker we


From: Roland Plüss
Subject: Re: [Help-smalltalk] gnu-smalltalk 3.4.2 build fails (+ issue tracker web bug)
Date: Tue, 03 May 2011 21:51:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110430 Lightning/1.0b3pre Thunderbird/3.1.9


On 05/03/2011 12:40 PM, Paolo Bonzini wrote:
> 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.
Would it not have been better to improve the DLD.addLibrary call than
introducing a glue? Or is this affecting only libc?

-- 
Yours sincerely
Plüss Roland

Leader and Head Programmer
- Game: Epsylon ( http://www.indiedb.com/games/epsylon ,
http://epsylon.rptd.ch )
- Game Engine: Drag[en]gine ( http://www.indiedb.com/engines/dragengine
, http://dragengine.rptd.ch )
- Normal Map Generator: DENormGen ( http://epsylon.rptd.ch/denormgen.php
) and others

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]