This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build GDB 7.0 with Cygwin -mno-cygwin option.


On Thu, Oct 08, 2009 at 03:01:27PM +0400, Dmitry Smirnov wrote:
>>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"

A heads up: The latest C compiler for Cygwin no longer supports the
-mno-cygwin option.  It just generates too much confusion.

We will have a MinGW "cross compiler" at some point which should take
the place of that option but it is not available yet.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]