Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
To: Dmitry Smirnov <divis1969@mail.ru>,
		Joel Brobecker <brobecker@adacore.com>,
	gdb@sourceware.org, 	Pedro Alves <pedro@codesourcery.com>
Subject: Re: Build GDB 7.0 with Cygwin -mno-cygwin option.
Date: Thu, 08 Oct 2009 21:33:00 -0000	[thread overview]
Message-ID: <20091008213323.GA2170@ednor.casa.cgf.cx> (raw)
In-Reply-To: <E1MvqkR-00024C-00.divis1969-mail-ru@f264.mail.ru>

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


      reply	other threads:[~2009-10-08 21:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07 16:30 Dmitry Smirnov
2009-10-07 16:58 ` Joel Brobecker
2009-10-07 17:12   ` Joel Brobecker
2009-10-07 17:14   ` Pedro Alves
2009-10-08 11:01     ` Re[2]: " Dmitry Smirnov
2009-10-08 21:33       ` Christopher Faylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091008213323.GA2170@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@sourceware.org \
    --cc=brobecker@adacore.com \
    --cc=divis1969@mail.ru \
    --cc=gdb@sourceware.org \
    --cc=pedro@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox