[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: startkde/libkmapnotify
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-06-29 20:12:37
[Download RAW message or body]

On Thu, 29 Jun 2000, Bill Soudan wrote:
>  Finally, kdeinit invokes the
> application (IIRC) in one of two ways:
>
> 1) if the app has been compiled as a shared lib (e.g. konsole), fork, load
> the lib, and then call the lib's main function.
>
> 2) fork, and the exec the application.
>
> In both instances a second dynamic linking step is not performed, which
> was the whole point of creating kdeinit I believe.  Therefore the
> LD_PRELOAD must be done to the original process, kdeinit, in order for the
> forked child processes (which become the launched applications) to
> 'inherit' libkmapnotify.
>
> Waldo, am I on the right track here? :)

As far as I know only in case 1 the LD_PRELOAD is not performed. In case 2) 
normal runtime linking is performed.

Cheers,
Waldo
-- 
Make way, KDE/Linux is coming to a desktop near you!
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic