This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: config.if for glibc 2.2
On Wed, May 16, 2001 at 09:38:22PM +0200, Maciej W. Rozycki wrote:
> On Wed, 16 May 2001, H . J . Lu wrote:
>
> > Wrong. Which compiler are you using to do such a test when you build a
> > cross compiler? The right compiler to use is the cross compiler you
>
> The one that is going to be used to build libstdc++. At the point
> config.if gets evaluated the compiler is already available and the CC
> variable is set appropriately.
In that case, you shouldn't use $(CC-cc) since cc will be definitely
wrong for cross compile.
H.J.