http://bugs.winehq.org/show_bug.cgi?id=21526
Alex cerebro.alexiel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26622|0 |1 is obsolete| |
--- Comment #11 from Alex cerebro.alexiel@gmail.com 2010-03-05 12:36:37 --- Created an attachment (id=26625) --> (http://bugs.winehq.org/attachment.cgi?id=26625) Add -mno-cygwin option to winegcc
The 'boss' said I should handle this in winegcc but thanks for testing. I'm quite new here so I don't know all wine compiling mechanism.
In fact, Pierre Monteux was right. Current version links against libc instead of using msvcrt library. And that's -mno-cygwin do.
See http://source.winehq.org/git/wine.git/?a=blob;f=tools/winegcc/winegcc.c#l124... and line 442.
This patch is not tested.
I noticed xcopy had '-mno-cygwin' flag though it fails compiling according to the first post. I guess the fix is not so far...