This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: quoting in GLIBCXX_INCLUDES, canadian cross
- From: Phil Edwards <phil at jaj dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 26 Aug 2003 21:00:52 -0400
- Subject: Re: quoting in GLIBCXX_INCLUDES, canadian cross
- References: <20030825095415.GT1320@bubble.sa.bigpond.net.au>
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