This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PCH now working, should be default?
>> Use '-include foo'.
>
>'-include' doesn't work in current g++. See c++/9302 and c++/9394.
Yep.
/mnt/hd/ahimsa/bld-x86-gcc/gcc/g++ -shared-libgcc -B/mnt/hd/ahimsa/bld-x86-gcc/g
cc/ -nostdinc++ -L/mnt/hd/ahimsa/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/src
-L/mnt/hd/ahimsa/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/mnt/hd/
ahimsa/H-x86-gcc/i686-pc-linux-gnu/bin/ -B/mnt/hd/ahimsa/H-x86-gcc/i686-pc-linux
-gnu/lib/ -isystem /mnt/hd/ahimsa/H-x86-gcc/i686-pc-linux-gnu/include -include s
tdc++.h -g -ffunction-sections -fdata-sections -fmessage-length=0 -DDEBUG_ASSERT
-DLOCALEDIR="/mnt/hd/ahimsa/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/po/share
/locale" -nostdinc++ -I/mnt/hd/ahimsa/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3
/include/i686-pc-linux-gnu -I/mnt/hd/ahimsa/bld-x86-gcc/i686-pc-linux-gnu/libstd
c++-v3/include -I/mnt/hd/bliss/gcc/libstdc++-v3/libsupc++ -I/mnt/hd/bliss/gcc/li
bstdc++-v3/libio -I/mnt/hd/bliss/gcc/libstdc++-v3/include/backward -I/mnt/hd/bli
ss/gcc/libstdc++-v3/testsuite /mnt/hd/bliss/gcc/libstdc++-v3/testsuite/17_intro/
header_cassert.cc -g -O2 -DDEBUG_ASSERT -L/mnt/hd/ahimsa/bld-x86-gcc/i686-pc-lin
ux-gnu//libstdc++-v3/testsuite -lv3test -lm -o ./header_cassert.exe
g++: stdc++.h: No such file or directory
<command line>:140238115:56688: -xc++-header: No such file or directory
Because of this, I'm not able to test this approach on the testsuites.
For the actual compilation of libstdc++, the added -include stdc++.h
gives nothing. (xgcc is used at this point.)
-benjamin