[Bug 48113] New: The -mno-cygwin option should be abandoned.

WineHQ Bugzilla wine-bugs at winehq.org
Sat Nov 16 10:17:28 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=48113

            Bug ID: 48113
           Summary: The -mno-cygwin option should be abandoned.
           Product: Wine
           Version: 4.20
          Hardware: x86
                OS: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build-env
          Assignee: wine-bugs at winehq.org
          Reporter: carlo.bramix at libero.it

With reference to bugs #47959 and #47951, I think that the "-mno-cygwin" option
should be abandoned, since it is no more functional by long time.

In the past, this option was used for telling GCC if executables and DLLs
depended on POSIX layer or they were just plain executables for Windows.
This option has been obsoleted since the transition from gcc3 to gcc4 and
deprecated since GCC 4.7.
Modern build tools for CYGWIN make only objects linked with POSIX layer and
cross compilers from MINGW-W64 are included for both 32 and 64 bit platforms.
Building WINE for running natively on Windows requires to follow the same
method typically used when doing a cross compile, on CYGWIN but also in MSYS2.
This will also fix this error:

gcc: error: unrecognized command line option '-mno-cygwin'

that you get when you start to build.

Question: this is the content of a simple Makefile.in:

<================================

MODULE    = acledit.dll

EXTRADLLFLAGS = -mno-cygwin

C_SRCS = \
    main.c

================================>

Assuming that somebody will provide this change and since EXTRADLLFLAGS is
typically used only for "-mno-cygwin", is it required to keep the presence of
an empty EXTRADLLFLAGS or it can be deleted from the Makefile.in?

Thanks.

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