This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Default installation directory for include files when cross compiling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]