This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re[2]: Build GDB 7.0 with Cygwin -mno-cygwin option.
- From: Dmitry Smirnov <divis1969 at mail dot ru>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 08 Oct 2009 15:01:27 +0400
- Subject: Re[2]: Build GDB 7.0 with Cygwin -mno-cygwin option.
- References: <200910071814.01611.pedro@codesourcery.com>
- Reply-to: Dmitry Smirnov <divis1969 at mail dot ru>
> Cygwin's gcc is pulling Cygwin headers, while the build is assuming a mingw host.
> Things are expected to break this way. I would assume at least you'd need
> --host,build=i686-pc-mingw32 _and_ CC="gcc -mno-cygwin". A real mingw gcc
> would be better.
Thank you, Pedro, this works well.
I had used
./configure --with-x=no --disable-tui --build=i686-pc-mingw32 CC="gcc -mno-cygwin"
Dmitry