From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22851 invoked by alias); 8 Oct 2009 11:01:36 -0000 Received: (qmail 22632 invoked by uid 22791); 8 Oct 2009 11:01:36 -0000 X-SWARE-Spam-Status: No, hits=2.6 required=5.0 tests=AWL,BAYES_00,CHARSET_FARAWAY_HEADER,SARE_FREE_WEBM_RuMail,SARE_SUB_ENC_KOI8R,SPF_PASS,SUBJ_RE_NUM X-Spam-Check-By: sourceware.org Received: from f264.mail.ru (HELO f264.mail.ru) (217.69.128.185) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Oct 2009 11:01:31 +0000 Received: from mail by f264.mail.ru with local id 1MvqkR-00024C-00; Thu, 08 Oct 2009 15:01:27 +0400 Received: from [212.92.145.7] by win.mail.ru with HTTP; Thu, 08 Oct 2009 15:01:27 +0400 From: Dmitry Smirnov To: Pedro Alves Cc: gdb@sourceware.org, Joel Brobecker Subject: =?koi8-r?Q?Re[2]=3A_Build_GDB_7.0_with_Cygwin_-mno-cygwin_option.?= Mime-Version: 1.0 Date: Thu, 08 Oct 2009 11:01:00 -0000 References: <200910071814.01611.pedro@codesourcery.com> In-Reply-To: <200910071814.01611.pedro@codesourcery.com> Reply-To: Dmitry Smirnov Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00160.txt.bz2 > 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