This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
PCH is not being found any more???
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: "Gcc-Bugs at Gcc dot Gnu. Org" <gcc-bugs at gcc dot gnu dot org>, libstdc++ at gcc dot gnu dot org
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Tue, 1 Jul 2003 10:15:24 -0400
- Subject: PCH is not being found any more???
I think the patch which added --enable-pch made the finding of if PCH
is there disables PCH for every platform.
From my config.log in libstdc++:
configure:2838: checking for compiler that seems to compile .gch files
configure:2861:
/home/gates/pinskia/src/gnu/gcc/src/objdir.linux/gcc/xgcc
-shared-libgcc -B/home/gates/pinskia/src/gnu/gcc/src/objdir.linux/gcc/
-nostdinc++
-L/home/gates/pinskia/src/gnu/gcc/src/objdir.linux/i686-pc-linux-gnu/
libstdc++-v3/src
-L/home/gates/pinskia/src/gnu/gcc/src/objdir.linux/i686-pc-linux-gnu/
libstdc++-v3/src/.libs
-B/home/gates/pinskia/linux/i686-pc-linux-gnu/bin/
-B/home/gates/pinskia/linux/i686-pc-linux-gnu/lib/ -isystem
/home/gates/pinskia/linux/i686-pc-linux-gnu/include -isystem
/home/gates/pinskia/linux/i686-pc-linux-gnu/sys-include -c -Werror
-Winvalid-pch -Wno-deprecated -x c++-header -O2 -g -O2 conftest.C 1>&5
configure: In function `int main()':
configure:2857: error: `yes' undeclared (first use this function)
configure:2857: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
configure: failed program was:
#line 2853 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
yes(0);
; return 0; }
Thanks,
Andrew Pinski