Re: [PATCH] Don't set CC in config/i386/go32.mh

Eli Zaretskii
2014-11-15T10:56:08Z

> 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.