"Dimitrie O. Paun" dpaun@rogers.com writes:
BTW, will we ever be able to do so? Any hint on what it would take? As Wine matures, it seems more and more people are trying to do that, just to find out they have to turn their Unix app into a Winelib app. Not catastrophic, but it would be so much nicer if they didn't have to.
That depends a bit on what you are trying to achieve. But in any case simply linking against libwine can't work since libwine doesn't export the Windows APIs; so you have to link against the Wine dlls one way or another. To build a regular Unix app this would mean making the Wine dlls normal ELF libraries, which would break a number of things; so you would probably need a separate set of "crippled" Wine dlls where features that can't be done in ELF are disabled or hacked around.