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
- From: jtc at acorntoolworks dot com (J.T. Conklin)
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, "Carlos O'Donell" <carlos at codesourcery dot com>
- Date: Fri, 16 Jun 2006 16:24:47 -0700
- Subject: Re: Default installation directory for include files when cross compiling
- References: <4493395E.6030009@codesourcery.com>
- Reply-to: jtc at acorntoolworks dot com
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