wine/ libs/wine/loader.c libs/wine/config.c in ...

Mike Hearn mike at theoretic.com
Fri Oct 10 09:35:46 CDT 2003


I have some code that can figure out the absolute address of the binary by
either:

a) Looking for itself in /proc/self/maps ... or
b) using r_map and /proc/self/exe

I dunno how Linux specific this is, but it works pretty well and lets you
make a relocatable binary every time. Would this be an acceptable 2nd
implementation for init_argv0_path() that works when wine is invoked from
the path also?

On Tue, 07 Oct 2003 19:36:09 -0500, Sir Alexandre Julliard scribed thus:
> http://cvs.winehq.com/patch.py?root=/home/winehq/opt/cvs-commit&id=9669





More information about the wine-devel mailing list