Re: build wine dll problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)?






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux