This is the mail archive of the
mailing list for the Cygwin project.
Re: setup.exe - a small feature request
On Thu, Feb 18, 2010 at 11:04:14AM -0500, Christopher Faylor wrote:
> On Thu, Feb 18, 2010 at 10:59:26AM -0500, Eliot Moss wrote:
> >On 2/18/2010 9:52 AM, Gary wrote:
> >> configure:3021: checking whether the C++ compiler works
> >> configure:3043: g++ -mno-cygwin -I /usr/include/ncurses conftest.cpp>&5
> >> g++: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler\
> >> .
> >> configure:3047: $? = 1
> >> configure:3085: result: no
> >> configure: failed program was:
> >> (etc.)
> >> WTH? Am I supposed to be using some other compiler, such as gcc-3?
> >> (Note: removing the -mno-cygwin option seems to make configure work, but
> >> the knock on effect is probably not desirable.)
> >I think the answer is to install and use mingw.
> No, the answer is to use gcc-3. It should be fairly obvious that setup
> can't be built with gcc-4 right now, once you attempt to try to build it.
./configure -C --disable-shared --host=i686-pc-mingw32 --build=i686-pc-cygwin CC="gcc-3 -mno-cygwin" CXX="g++-3 -mno-cygwin"
and the following 'make' seem to work fine. I sort of assumed it was
that, but thought it was best to clarify first. Is it worth updating the
README to clarify this, or are you expecting the -mno-cygwin option to
be in a later release of gcc?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple