PATCH: config.if for glibc 2.2

H . J . Lu hjl@lucon.org
Wed May 16 13:23:00 GMT 2001


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.



More information about the Binutils mailing list