[Bug 21526] several programs fail to compile under cygwin

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 5 12:36:38 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21526


Alex <cerebro.alexiel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26622|0                           |1
        is obsolete|                            |




--- Comment #11 from Alex <cerebro.alexiel at 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#l1240
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...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list