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

Pali Rohár pali.rohar at gmail.com
Sun Mar 20 06:14:46 CDT 2011


2011/2/19 Pali Rohár <pali.rohar at gmail.com>:
> 2011/2/4 Pali Rohár <pali.rohar at gmail.com>:
>> 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
>>
>
> I rewrited my patch. Now set up correctly enviromental variables too.
> Assembler code is only for x86.
>
> --
> Pali Rohár
> pali.rohar at gmail.com
>

Can anybody review my patch?

-- 
Pali Rohár
pali.rohar at gmail.com



More information about the wine-patches mailing list