Default installation directory for include files when cross compiling
J.T. Conklin
jtc@acorntoolworks.com
Fri Jun 16 23:28:00 GMT 2006
Mark Mitchell <mark@codesourcery.com> writes:
> The theory seems to be that these files are target-independent, and so
> can be shared if multiple targets are installed in one $prefix, from the
> same sources. But, $prefix/include should be for host include files,
> not for target include files, so this seems weird if you're only
> installing a cross compiler, and it clearly breaks if you install a host
> compiler built from different sources in the same prefix as one of your
> target compilers.
This was ~ 3 years ago, but I seem to recall having problems when
configuring one toolchain configured with --enable-cheaders=c and
another configured with --enable-cheaders=c_std with the same $prefix.
I seem to recall having to use separate install prefixes.
If I'm not misremembering, the files aren't target independent at all.
--jtc
--
J.T. Conklin
More information about the Libstdc++
mailing list