Gabriel Dos Reis wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
>
> | Gabriel Dos Reis wrote:
> |
> | > | Does that mean that you would approve a patch to adjust the default for
> | > | cross builds?
> | >
> | > Yes.
> | >
> | > I was concerned you wanted to change the default uniformly,
> | > e.g. whether native or not. You have clarified it would be only for
> | > cross-compile.
> |
> | Here is a patch to implement this change. (Unfortunately, one has to
> | make this change in two places; perhaps, in future, there should be a
> | driver -print-libstdc++-include option, or some such.)
> |
> | Gaby, is this patch OK?
>
> Hmm, I believe the actual patch is missing...
Indeed.
Apologies,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
2006-06-19 Mark Mitchell <mark@codesourcery.com>
* acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): When
cross-compiling, put headers in $prefix/$target/include/c++.
* configure: Regenerated.
2006-06-19 Mark Mitchell <mark@codesourcery.com>
* configure.ac: Set gcc_gxx_include_dir to $target/include/c++
when cross-compiling. Do not substitute libstdcxx_incdir.
* configure: Regenerated.