From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20978 invoked by alias); 15 Nov 2014 10:56:08 -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 20968 invoked by uid 89); 15 Nov 2014 10:56:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout29.012.net.il Received: from mtaout29.012.net.il (HELO mtaout29.012.net.il) (80.179.55.185) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 15 Nov 2014 10:56:06 +0000 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NF200500TH2A900@mtaout29.012.net.il> for gdb-patches@sourceware.org; Sat, 15 Nov 2014 12:54:18 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NF2005L1UAHFQ20@mtaout29.012.net.il>; Sat, 15 Nov 2014 12:54:18 +0200 (IST) Date: Sat, 15 Nov 2014 10:56:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Don't set CC in config/i386/go32.mh In-reply-to: <20141115101405.GE5774@adacore.com> To: Joel Brobecker Cc: yao@codesourcery.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83r3x4g2bv.fsf@gnu.org> References: <1416041503-29957-1-git-send-email-yao@codesourcery.com> <83y4rcg7ns.fsf@gnu.org> <20141115101405.GE5774@adacore.com> X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00352.txt.bz2 > Date: Sat, 15 Nov 2014 14:14:05 +0400 > From: Joel Brobecker > Cc: Yao Qi , gdb-patches@sourceware.org > > > 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. How come this never came up before, then? AFAIR, Pedro built the DJGPP port several times.