Default installation directory for include files when cross compiling
Richard Guenther
richard.guenther@gmail.com
Wed Jun 21 11:48:00 GMT 2006
On 6/21/06, Richard Guenther <richard.guenther@gmail.com> wrote:
> On 6/20/06, Mark Mitchell <mark@codesourcery.com> wrote:
> > 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.
>
> This broke bootstrap:
>
> /abuild/rguenther/trunk/gcc/configure: line 7305: syntax error near
> unexpected token `$LN_S'
> /abuild/rguenther/trunk/gcc/configure: line 7305: `ACX_PROG_LN($LN_S)'
> make[2]: *** [configure-stage1-gcc] Error 2
>
> somehow you didn't re-generate configure correctly.
Fixed by re-generating, committed as obvious.
Richard.
More information about the Libstdc++
mailing list