From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47220 invoked by alias); 8 Mar 2018 09:15:36 -0000 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 Received: (qmail 47162 invoked by uid 89); 8 Mar 2018 09:15:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,TIME_LIMIT_EXCEEDED,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 spammy=H*r:user X-HELO: relay.fit.cvut.cz Received: from relay.fit.cvut.cz (HELO relay.fit.cvut.cz) (147.32.232.237) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Mar 2018 09:15:08 +0000 Received: from imap.fit.cvut.cz (imap.fit.cvut.cz [IPv6:2001:718:2:2901:0:0:0:238] (may be forged)) by relay.fit.cvut.cz (8.15.2/8.15.2) with ESMTPS id w289Es7P002260 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Thu, 8 Mar 2018 10:14:55 +0100 (CET) (envelope-from jan.vrany@fit.cvut.cz) Received: from sao (02de09d2.bb.sky.com [2.222.9.210] (may be forged)) (authenticated bits=0 as user vranyj1) by imap.fit.cvut.cz (8.15.2/8.15.2) with ESMTPSA id w289Eqx6044837 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 8 Mar 2018 10:14:53 +0100 (CET) (envelope-from jan.vrany@fit.cvut.cz) Message-ID: <1520500492.16358.36.camel@fit.cvut.cz> Subject: Re: Compiling GDB on Windows using mingw64 toolchain From: Jan Vrany To: Eli Zaretskii Cc: gdb@sourceware.org Date: Thu, 08 Mar 2018 09:15:00 -0000 In-Reply-To: <83sh9dqeti.fsf@gnu.org> References: <1520183955.32035.2.camel@fit.cvut.cz> <1520334268.16358.20.camel@fit.cvut.cz> <83bmg1rybg.fsf@gnu.org> <1520352887.16358.25.camel@fit.cvut.cz> <83sh9dqeti.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-FIT-MailScanner-Information: X-FIT-MailScanner-ID: w289Es7P002260 X-FIT-MailScanner: Found to be clean X-FIT-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.11, required 6, autolearn=not spam, BAYES_00 -0.10, T_RP_MATCHES_RCVD -0.01) X-FIT-MailScanner-From: jan.vrany@fit.cvut.cz X-FIT-MailScanner-Watermark: 1520522096.33203@y7Pt8uLV+QsBe3JIuY370Q X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00024.txt.bz2 Hi, On Tue, 2018-03-06 at 19:44 +0200, Eli Zaretskii wrote: > > > Then I guess you need to look in the config.log to understand why the > configure-time test for it failed. Thanks! I finally found the problem and it's embarrassing. I found out that it did not detect wint_t because there was a syntax error in generated conftest.c so it did not compile thus the check failed (there was a garbage at the end of the .c file). I run my Windows in VirtualBox and realized that my build directory is on vbox "shared folder". When I tried to build on virtualized disk, it worked just fine. Oh my... Interestingly, I build other programs this way for years and never encountered this. I'm sorry for the noise! And I'm really grateful for all hints you all gave me - helped me a lot! Thanks again, Jan