Re: gcc 3.2's cpp breaks configure scripts

Gabriel Dos Reis <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Organization CodeSourcery, LLC
Message-ID <[email protected]>
"John David Anglin" <[email protected]> writes:

[...]

| libstdc++ headers are installed in /opt/gnu/include unless the
| gcc prefix is /usr/local, in which case they are installed in
| /usr/local/include.  I stopped installing gcc and packages in
| /usr/local since I need to install multiple configurations
| (32-bit and 64-bit, etc).  It appears that installing gcc with
| --prefix=/usr/local will effectively prevent other installations
| from working properly as the g++-v3 headers will always be
| found in /usr/local unless the user reorders the system headers.
| The same is true for any package which installs headers to
| /usr/local.  It might be better if the v3 headers were in
| /opt/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.1.1/include.

Please note that with current source, V3 is installed in
${prefix}/include/c++/${version}/; and within that directory,
target-specific headers are installed in appropriate subdirectory.

-- Gaby
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.