Hi I tried to include fprintf statement in passes.c file at 451th line 445 p = &all_lowering_passes; 446 NEXT_PASS (pass_remove_useless_stmts); 447 NEXT_PASS (pass_mudflap_1); 448 NEXT_PASS (pass_lower_cf); 449 NEXT_PASS (pass_lower_eh); 450 NEXT_PASS (pass_build_cfg); 451 fprintf(stdout,"\n PASSBUILDCFG called\n"); ------------------------------------------------------- I got the following error while installing. What could be the reason? My intention is to print the name of pass just after that pass has been called. ------------------------------------------------------- PASSBUILDCFG called make \ CFLAGS="-g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute " \ CONFIG_H="tconfig.h auto-host.h ../../gcc-4.1.2/gcc/../include/ansidecl.h" TM_H="tm.h options.h ../../gcc-4.1.2/gcc/config/i386/i386.h ../../gcc-4.1.2/gcc/config/i386/unix.h ../../gcc-4.1.2/gcc/config/i386/att.h ../../gcc-4.1.2/gcc/config/dbxelf.h ../../gcc-4.1.2/gcc/config/elfos.h ../../gcc-4.1.2/gcc/config/svr4.h ../../gcc-4.1.2/gcc/config/linux.h ../../gcc-4.1.2/gcc/config/i386/linux.h ../../gcc-4.1.2/gcc/defaults.h insn-constants.h insn-flags.h options.h" \ INCLUDES="-I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include " \ MAKEOVERRIDES= \ -f libgcc.mk all make[3]: Entering directory `/home/users/pg05/ranjithk/gcc/obj/gcc' for d in libgcc; do \ if [ -d $d ]; then true; else /bin/sh ../../gcc-4.1.2/gcc/../mkinstalldirs $d; fi; \ done mkdir -p -- libgcc if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi ./xgcc -B./ -B/users/pg05/ranjithk/gcc/obj//i686-pc-linux-gnu/bin/ -isystem /users/pg05/ranjithk/gcc/obj//i686-pc-linux-gnu/include -isystem /users/pg05/ranjithk/gcc/obj//i686-pc-linux-gnu/sys-include -L/users/pg05/ranjithk/gcc/obj/gcc/../ld -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -DL_muldi3 PASSBUILDCFG called -fvisibility=hidden -DHIDE_EXPORTS -c ../../gcc-4.1.2/gcc/libgcc2.c -o libgcc/./_muldi3.o xgcc: PASSBUILDCFG: No such file or directory xgcc: called: No such file or directory PASSBUILDCFG called make[3]: *** [libgcc/./_muldi3.o] Error 1 make[3]: Leaving directory `/home/users/pg05/ranjithk/gcc/obj/gcc' make[2]: *** [libgcc.a] Error 2 make[2]: Leaving directory `/home/users/pg05/ranjithk/gcc/obj/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/home/users/pg05/ranjithk/gcc/obj/gcc' make: *** [bootstrap] Error 2 ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/