This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug bootstrap/9968] When gxx-include-dir contains 'include', its removed...


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9968



------- Additional Comments From raul@pleyades.net  2003-05-26 14:54 -------
Subject: Re: [Bug bootstrap/9968] When gxx-include-dir contains 'include', its removed...

    Hi Dara :)

 * dhazeghi@yahoo.com <gcc-bugzilla@gcc.gnu.org> dixit:
> would it be possible for you to confirm that this behavior still
> takes place with gcc 3.3? There doesn't seem to have been much
> changed in this area of code, but it's possible... Thanks,

    Confirmed. Look at the output below. This is from compiling a
bogus test program in C++:

Reading specs from ./../lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc-3.3/configure --prefix=/user/gccfull/ --with-cpp-install-dir=lib --program-transform-name=s/^c++filt$/gcc-c++filt/ --disable-nls --enable-languages=c,c++ --disable-multilib --disable-version-specific-runtime-libs --with-gxx-include-dir=/user/gccfull/include/myg++ : (reconfigured) ../gcc-3.3/configure --prefix=/user/gccfull/ --with-cpp-install-dir=lib --program-transform-name=s/^c++filt$/gcc-c++filt/ --disable-nls --enable-languages=c,c++ --disable-multilib --disable-version-specific-runtime-libs --with-gxx-include-dir=/user/gccfull/include/myg++
Thread model: posix
gcc version 3.3
 ./../lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1plus -quiet -v -iprefix ./../lib/gcc-lib/i686-pc-linux-gnu/3.3/ -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D_GNU_SOURCE test.c -D__GNUG__=3 -quiet -dumpbase test.c -auxbase test -version -o /tmp/ccG3gChU.s
GNU C++ version 3.3 (i686-pc-linux-gnu)
	compiled by GNU C version 3.2.2.
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64336
ignoring nonexistent directory "../i686-pc-linux-gnu/include"
ignoring nonexistent directory "/user/gccfull/myg++"
ignoring nonexistent directory "/user/gccfull/myg++/i686-pc-linux-gnu"
ignoring nonexistent directory "/user/gccfull/myg++/backward"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/user/gccfull/i686-pc-linux-gnu/include"
ignoring duplicate directory "/user/gccfull/lib/gcc-lib/i686-pc-linux-gnu/3.3/include"
#include "..." search starts here:
#include <...> search starts here:
 ../lib/gcc-lib/i686-pc-linux-gnu/3.3/include
 /user/gccfull/include
 /usr/include
End of search list.

    As you can see, I used --with-gxx-include-dir=/user/gccfull/include/myg++
but the search dirs have the 'include' part removed:

ignoring nonexistent directory "/user/gccfull/myg++"
ignoring nonexistent directory "/user/gccfull/myg++/i686-pc-linux-gnu"
ignoring nonexistent directory "/user/gccfull/myg++/backward"

    If you want me to test anything, just let me know. Thanks a lot
for dealing with this bug :))

    Raúl Núñez de Arenas Coronado





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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