autoconf
[Top][All Lists]
Advanced

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

Detecting the need for -mwin32 in newer cygwin gcc's


From: Christopher Faylor
Subject: Detecting the need for -mwin32 in newer cygwin gcc's
Date: Wed, 7 Mar 2001 16:12:14 -0500
User-agent: Mutt/1.3.11i

We've made a change in the newest version of cygwin that stops the
Windows headers from being searched unless a -mwin32 option is specified
on the gcc command line.  This option also causes Windows options like
"WIN32" to be defined automatically.

We've done this to make porting easier for some programs which already
have a Windows-specific port that is not appropriate when compiled under
Cygwin.

However, this causes problems for programs that still need to explicitly
use Windows include files.

Someone on the cygwin mailing list suggested that this calls for an
autoconf option so that checking for this behavior can be added to
configure.

Basically, I think we need something like a AC_PROG_GCC_USES_MWIN32.

Does this sound like a good way to go with this?

Does anyone want to volunteer to implement this, if so?

cgf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]