c++/819: Wrong deafult include path in the last snapshot (gcc-20001113)

simonis@informatik.uni-tuebingen.de simonis@informatik.uni-tuebingen.de
Thu Nov 16 01:46:00 GMT 2000


>Number:         819
>Category:       c++
>Synopsis:       Wrong deafult include path in the last snapshot (gcc-20001113)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 16 01:46:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     simonis@informatik.uni-tuebingen.de
>Release:        gcc version 2.97 20001113 (experimental)
>Organization:
>Environment:
Linux volker.Informatik.Uni-Tuebingen.De 2.2.14-15mdk #2 Fri May 19 23:15:02 CEST 2000 i686 unknown
(Mandrake 7.0)
>Description:
Since the last snapshot, 'libstdc++-v3' gets compiled as the 
c++ standard library for g++. (This has been set in configure
with 'enable_libstdcxx_v3=yes').
The prblem is, that the compiler executable (or the preprocessor)
still containtains the path of the old stdandard library in the
list of the default include pathes.

For example g++ -v <some file> returns a line like:

ignoring nonexistent directory "/share/software/GCC/gcc-20001113_bin/include/g++-3"

because the path "/share/software/GCC/gcc-20001113_bin/include/g++-3"
doesn't exist. Instead the name of the path should be:
"/share/software/GCC/gcc-20001113_bin/include/g++-v3", that
is "g++-v3" instead of "g++-3".

I suppose this is a configuration problem!
>How-To-Repeat:
Just try to compile a test program which includes one of
the standard header files.
>Fix:
Quick and dirty: in youre installation directory set with
                 the '--prefix' option link 'include/g++-v3'
                 to 'include/g++-3'.
Clean solution: Don't know. Probably you have to fix the configuration
                step of cpp.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list