Question: How to link kernel32.dll.so to get loaded at a fixed

Alexandre Julliard julliard at winehq.org
Thu Nov 15 10:09:56 CST 2007


"Dan Kegel" <dank at kegel.com> writes:

> Good question.   It's probably pretty involved; you may have to wait
> for an expert to try it and see what it breaks.  Alexandre suggested
> it might not work recently (see
> http://bugs.winehq.org/show_bug.cgi?id=10273#c17 ), but
> perhaps he's being overly pessimistic.
>
> BTW if that idea works for Solaris, it might work for Linux, too.

It works on Linux already, we are using prelink to set the kernel32 load
address. That doesn't mean you can avoid -fPIC since the address is not
guaranteed to be available.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list