This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Header file installation
Mark Mitchell <mark@codesourcery.com> writes:
> >>>>> "David" == David Edelsohn <dje@watson.ibm.com> writes:
> David> Better associating the headers with each GCC release
> David> sounds like a fine idea. I am a little concerned about
> David> placing the G++ headers with the "fixed" system headers and
> David> support files. That location contains target-dependent
> David> data, so it precludes sharing the common headers among
> David> targets. I can sympathize that another
> David> target-triplet/version directory hierachy would be
> David> cumbersome if the version is not sufficient.
>
> I'm not sure I understood that last bit. I see your point about
> sharing headers -- but some things (like c++config.h) can't be shared
> anyhow.
Actually, only the headers in the libstdc++-v3 builddir need to be
installed into the gcc-lib/.../g++-include directory -- things like
atomicity.h, os_defines.h, and c++config. The others can be installed
in the regular $(includedir)/g++-v3 directory and shared across
architectures.
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash