[Wine] [OS X] How to link kernel32.lib.so with OS X XCode project?

NathanExplosions
2011-05-27T11:39:43Z

Hi

Please tell me how can I use parts of WINE / WineLib (mainly Kernel32 library
implementation) in Mac OS XCode projects?
I tried to link kernel32.lib.so with a test application, which used one of the
Kernel32 functions - GetCurrentDirectoryA(), but got a linker error, which was
not able to resolve this function :?

The most puzzling thing is that if I run otool on Kernel32.lib.so, it says the
shared library is linked with several OS X dynamic libraries and also with
libWine.dylib... But what is libWine.dylib? I've installed WINE with
MacPorts and there is no libWine.dylib on my system... Should I try to build
WINE manually [Crying or Very sad] [Crying or Very sad] [Crying or Very sad]
[Crying or Very sad] [Crying or Very sad], probably selling my soul to the devil
in order to resolve somehow unbelievably painful problems with 68 libraries,
which WINE depends on...? [Shocked]

I'm desperate, please help!!!