From: Sisyphus <sis...@op...> - 2008-01-11 09:52:54
|
----- Original Message ----- From: "Michael Gerdau" <mg...@ti...> . . > Oups, I've just seen somewhere else in this thread you are already using > our scripts Quite likely *misusing* them, I fear :-) Probably not the right direction in which to head, but I was curious to see what happens if I remove /usr/include/sys/wait.h - so I renamed it to wait_hide.h. When I then run gcc-3.4.5-build.sh I find that auto-build.h (correctly) fails to define HAVE_SYS_WAIT_H. The process then terminates with: --------------------------------------- . . i386-pc-mingw32-gcc -c -DIN_GCC -DGENERATOR_FILE -I. -I. -I../gcc -I../gcc /. -I../gcc/../include ../gcc/genmodes.c -o genmodes.o rm -f build-errors.c sed -e 's/config[.]h/bconfig.h/' ../gcc/errors.c > build-errors.c i386-pc-mingw32-gcc -c -DIN_GCC -DGENERATOR_FILE -I. -I. -I../gcc -I../gcc /. -I../gcc/../include build-errors.c -o build-errors.o --------------------------------------- Both genmodes.o and errors.o are successfully built. The err.log has this to say: --------------------------------------- make: *** No rule to make target `../build-i686-pc-linux-gnu/libiberty/libiberty.a', needed by `genmodes'. Stop. --------------------------------------- The "build-i686-pc-linux-gnu" strikes me as possibly being some sort of corruption of "--build=i686-pc-linux-gnu" ... as though there's been a syntactic error made somewhere along the way. Certainly, afaict, the '../build-i686-pc-linux-gnu' folder doesn't exist. Anyway ... better rename sys/wait_hide.h back to sys/wait.h ... before I forget all about it :-) Cheers, Rob |