This is the mail archive of the gcc@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]

build problems on sun sparc running solaris 2.7


I now see:

stage1/xgcc -Bstage1/ -B/folk/mrs/packages/gcc-20001207/sparc-sun-solaris2.7/bin/ -c  -DIN_GCC  -DSVR4  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -Icp -I../../gcc/gcc -I../../gcc/gcc/cp -I../../gcc/gcc/config -I../../gcc/gcc/../include ../../gcc/gcc/cp/pt.c -o cp/pt.o
../../gcc/gcc/cp/pt.c:37:19: parse.h: No such file or directory
[ ... ]
stage1/xgcc -Bstage1/ -B/folk/mrs/packages/gcc-20001207/sparc-sun-solaris2.7/bin/ -c  -DIN_GCC  -DSVR4  -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -Icp -I../../gcc/gcc -I../../gcc/gcc/cp -I../../gcc/gcc/config -I../../gcc/gcc/../include ../../gcc/gcc/cp/lex.c -o cp/lex.o
../../gcc/gcc/cp/lex.c:37:19: parse.h: No such file or directory

during a realclean bootstrap.  :-(  Either the dependency is wrong, or ...:

$(srcdir)/cp/parse.h $(srcdir)/cp/parse.c: $(srcdir)/cp/parse.y
		     @echo "Expect 33 shift/reduce conflicts and 58 reduce/reduce conflicts."
[...]
cp/lex.o: cp/lex.c $(CXX_TREE_H) cp/parse.h flags.h cp/lex.h c-pragma.h \
  toplev.h output.h mbchar.h $(GGC_H) input.h diagnostic.h cp/operators.def

Should that be:

cp/lex.o: cp/lex.c $(CXX_TREE_H) $(srcdir)/cp/parse.h flags.h cp/lex.h c-pragma.h \
  toplev.h output.h mbchar.h $(GGC_H) input.h diagnostic.h cp/operators.def

?

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