Default installation directory for include files when cross compiling
Mark Mitchell
mark@codesourcery.com
Tue Jun 20 04:16:00 GMT 2006
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?
I have tested this patch with both a native x86_64-unknown-linux-gnu
compiler and an arm-eabi cross-compiler (which is a better test than
arm-none-eabi, in that the target name is an alias, rather than the
canonical target name). In both cases, everything worked fine.
I plan to apply this patch at this point in this release cycle because
it fixes an important installation problem.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Libstdc++
mailing list