This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Default installation directory for include files when cross compiling
On Fri, 16 Jun 2006, Mark Mitchell wrote:
| $prefix/include isn't the right place for target headers, and, anyhow,
$prefix here is the include for install dir. The notions of host,
build, target are different for compilers than for the libraries.
The library is built and installed for the target, and $prefix is the
installation prefix for the target. $prefix/include is used for
target independent files, and the target-dependent ones go elsewhere
properly marked as dependent on target.
The default, when it was done, was for common cases: native builds.
It was mostly done for matching the way other libraries are built and
installed.
-- Gaby