This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: quoting in GLIBCXX_INCLUDES, canadian cross


On Mon, Aug 25, 2003 at 07:24:15PM +0930, Alan Modra wrote:
>   Your latest libstdc++-v3/acinclude.m4 patch introduced a problem on
> powerpc64-linux.  I'm seeing '-I/usr/local/include' quotes and all,
> being passed to gcc.  This doesn't work very well..  eg.

Funky.  I'll look at this, thanks for pointing it out.


> I haven't tried to fix this because for my config I shouldn't be seeing
> CANADIAN=yes.  The following fixes the CANADIAN problem.  $host_alias,
> not $host, is passed down via --with-cross-host.
> 
> 	* configure.ac: Test with_cross_host against build_alias, not build.
> 	* configure: Regenerate.

This looks good by inspection too.  Please check this in on trunk.


Phil

-- 
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
    - Brian W. Kernighan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]