[PATCH] winegcc - do not create .exe.so

Pali Rohár pali.rohar at gmail.com
Thu Feb 3 19:53:55 CST 2011


Hello,

I created patch which implement correct _start section in ELF shared
libraries/binaries which generate winegcc.
Into _start section this patch add calling execve syscall which start
wine with all arguments. So it is not needed to generate shell wrapper
and .exe.so binary.

This replace code on:
http://wiki.winehq.org/Winelib_binaries_as_ELF_executables_not_.exe.so

$ winegcc app.c --> generate only a.exe (shared object ELF binary), no
aditional a.exe.so
$ ./a.exe --> start binary correctly without shell wrapper

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winegcc.patch
Type: application/octet-stream
Size: 5681 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110204/12ca0459/attachment-0001.obj>


More information about the wine-devel mailing list