[Wine] Re: build wine dll problem

tinku99 wineforum-user at winehq.org
Thu Sep 3 09:51:50 CDT 2009


vitamin wrote:
> 
> tinku99 wrote:
> > winemaker --nosource-fix --dll --single-target MyWin --nomfc 
> 
> You should use gcc & winegcc instead. Winemaker is for converting MSVC project files into Makefiles.

Thanks for the hint, I played with winegcc and got it to work. 
Code:
winegcc -shared MyWin.c MyWin.dll.spec

Then I applied what works with winegcc to the makefile, and it works that way also...

Code:
> winemaker --nosource-fix --dll --single-target MyWin --nomfc  .
// add the following to the generated makefile 
MyWin_C_SRCS          = MyWin.c \
			                     MyWin.dll.spec
MyWin_LDFLAGS         = -shared
// then
> make

Who do I request to update the documentation (http://www.winehq.org/docs/winelib-guide/bindlls-spec)?







More information about the wine-users mailing list