From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22233 invoked by alias); 29 Aug 2016 10:51:00 -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 22213 invoked by uid 89); 29 Aug 2016 10:50:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=msys2, brobecker, Brobecker, Avast X-HELO: mail-qk0-f174.google.com Received: from mail-qk0-f174.google.com (HELO mail-qk0-f174.google.com) (209.85.220.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 29 Aug 2016 10:50:48 +0000 Received: by mail-qk0-f174.google.com with SMTP id t7so133295634qkh.1 for ; Mon, 29 Aug 2016 03:50:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=BwUlB+ICjGeQGuh9dwCtgGDT7bgmdYwE9Unij90ezuE=; b=g/GjjrQ89XVRFSykKc0NIQ/dhNeA6M4K78cH8aBm+qc0YTpO6wlitZ3hmPU5i+3+v2 DjRsP9sUimk7k0qMyxQxvTIp5MOQLlNrhnFqz9lrTIsL+A7QF9+dNqbmq90687c3KZuK Fl3DwuBSuZyXOqamT/7LTzBViUFL6+JErW/uwU9xV2s5lnhU1uGdJQoOLTPDMD6AwHNo /+XqddhdhW44wxo4LZSMbK3rlg8sGLHeupJjTcVvXHHywS1KM3z6tHis5WcbV6q1n6kQ cMbD0VSh5zbflxhUK7shnvbXceHeBMxPBloQcay4UWP012RN0dXtvkO1c/EwmEZFiZU0 eNug== X-Gm-Message-State: AE9vXwNiOh9b0PTMqs3EeqIqQ6YgEDk6RxCkUUkbBMIqx8f3fudSznpFs0MbwHFYGq8/mg== X-Received: by 10.233.222.193 with SMTP id s184mr17431925qkf.154.1472467847272; Mon, 29 Aug 2016 03:50:47 -0700 (PDT) Received: from [127.0.0.1] (96-32-45-191.dhcp.nwtn.ct.charter.com. [96.32.45.191]) by smtp.googlemail.com with ESMTPSA id 133sm18157515qkf.33.2016.08.29.03.50.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Aug 2016 03:50:46 -0700 (PDT) Subject: Re: MinGW build target References: <5772c318-60ea-7728-5fd2-4706e38f46f8@gmail.com> <83vaykbvgv.fsf@gnu.org> <20160829074739.GA4547@adacore.com> To: gdb@sourceware.org From: Glenn Burkhardt Message-ID: <7d0a8e36-ad00-a865-cc0e-4e8734498418@gmail.com> Date: Mon, 29 Aug 2016 10:51:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160829074739.GA4547@adacore.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-08/txt/msg00057.txt.bz2 On 8/29/2016 3:47 AM, Joel Brobecker wrote: >>> What's the correct build target for MinGW-w64? I tried using >>> >>> --build=x86_64-w64-mingw64 >>> >>> with gdb-7.11.1 and x86_64-6.1.0-release-posix-seh-rt_v5-rev0, and >>> it's trying to compile ser-unix.c. That doesn't seem right, and, of >>> course, MinGW doesn't include . >> Why do you need an explicit argument? Doesn't config.guess guess >> correctly? If not, maybe your uname needs and update/upgrade? > To answer the question of "why" - on Windows, the config.guess output is > not always what you want, as it depends on how you execute that script. > In our case, we build using a cygwin environment, so config.guess > returns a cygwin triplet. So, when you actually want to build a MinGW > debugger, you have to pass the MinGW triplet explicitly. > Correct. The MinGW-w64 code doesn't include 'uname'. I'm using Msys2 as a shell, along with its support programs, which include 'uname'. On Msys2, --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus