This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Header file installation
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Header file installation
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 31 Oct 2000 00:38:29 -0500
- cc: gcc at gcc dot gnu dot org, libstdc++ at sources dot redhat dot com
>>>>> Mark Mitchell writes:
Mark> Benjamin, Phil Edwards, and I have talked about the G++ header file
Mark> situation, and we're thinking we'd like to have the headers installed
Mark> in the gcc-lib/arch/version/include directory, instead of in
Mark> include/g++-3. (By the way, that also goes along with a request from
Mark> some BSD folks that I talked to at ALS2000.)
Mark> The advantages are that it will make `gcc -V' more likely to do
Mark> something sensible, and that the `g++-3' bit is very confusing to
Mark> users, judging by how often questiosn regarding that come up on the V3
Mark> mailing list.
Better associating the headers with each GCC release sounds like a
fine idea. I am a little concerned about placing the G++ headers with the
"fixed" system headers and support files. That location contains
target-dependent data, so it precludes sharing the common headers among
targets. I can sympathize that another target-triplet/version directory
hierachy would be cumbersome if the version is not sufficient.
I worry that the headers will be hard to find and browse; it
almost seems like the headers are being hidden. Maybe a symbolic link
from $prefix/include could be provided for the latest installation?
David