"Dimitrie O. Paun" dpaun@rogers.com wrote:
Conversion to .o files
As Alexandre pointed out in here: http://www.winehq.com/hypermail/wine-devel/2002/11/1550.html generating .o files in proper format is non-trivial. And since I'm willing to do the work, there's no chance I'm going to propose something difficult to implement! :)
What I have in mind is quite simple: store the .res file, as a byte array, in a .wine.resources ELF section, and have winebuild pick it up from there (as an alternative to getting it directly from the .res file, so current behavior is conserved).
I have no objections to the most things, they look quite reasonable to me. Only one small suggestion: instead of .wine.resources section name use simple .rsrc, which should not conflict with anything else in the ELF world and is just a native name for resources in the Win32 world.