From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8443 invoked by alias); 15 Nov 2014 10:14:11 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8425 invoked by uid 89); 15 Nov 2014 10:14:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 15 Nov 2014 10:14:09 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 59CFE11663A; Sat, 15 Nov 2014 05:14:07 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5AGhKN2sbNkN; Sat, 15 Nov 2014 05:14:07 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id F03F0116612; Sat, 15 Nov 2014 05:14:06 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id C280740F79; Sat, 15 Nov 2014 14:14:05 +0400 (RET) Date: Sat, 15 Nov 2014 10:14:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: Yao Qi , gdb-patches@sourceware.org Subject: Re: [PATCH] Don't set CC in config/i386/go32.mh Message-ID: <20141115101405.GE5774@adacore.com> References: <1416041503-29957-1-git-send-email-yao@codesourcery.com> <83y4rcg7ns.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83y4rcg7ns.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-11/txt/msg00351.txt.bz2 > Who will set it to GCC when GDB is compiled natively for > i586-pc-msdosdjgpp? It should already be set. See gdb/Makefile.in where CC is set to @CC@, which means CC is what the configure script determines it should be, based on how GDB is being configured. I agree with Yao's patch. Forcing CC to gcc like this seems odd, and definitely breaks cross-building to that host. -- Joel