This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Don't set CC in config/i386/go32.mh
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: yao at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Sat, 15 Nov 2014 12:55:48 +0200
- Subject: Re: [PATCH] Don't set CC in config/i386/go32.mh
- Authentication-results: sourceware.org; auth=none
- References: <1416041503-29957-1-git-send-email-yao at codesourcery dot com> <83y4rcg7ns dot fsf at gnu dot org> <20141115101405 dot GE5774 at adacore dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sat, 15 Nov 2014 14:14:05 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Yao Qi <yao@codesourcery.com>, 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.