Hello Folks, I am trying to build and install gcc for the first time. I could configure properly without any errors. I just give the following option while configuring. $pwd /u1/santosh/gcc_obj $/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/configure --prefix=/usr/local/gnu/gcc/ creating cache ./config.cache checking host system type... sparc-sun-solaris2.10 .. .. Running make bootstrap-lean exists with the following error: configure: creating ./config.status config.status: creating Makefile config.status: creating mkheaders.almost config.status: creating config.h make: Fatal error in reader: Makefile, line 51: Unexpected end of line seen Current working directory /u1/santosh/gcc_obj/build-sparc-sun-solaris2.10/fixincludes *** Error code 1 The following command caused the error: r=`${PWDCMD-pwd}`; export r; \ s=`cd /u1/santosh/cfiles/GCC_installs/gcc- 4.1.1/gcc-4.1.1; ${PWDCMD-pwd}`; export s; \ FLEX="/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/missing flex"; export FLEX; LEX="lex"; export LEX; BISON="/u1/santosh/cfiles/GCC_installs/gcc- 4.1.1/gcc-4.1.1/missing bison"; export BISON; YACC="yacc"; export YACC; M4="m4"; export M4; MAKEINFO="/u1/santosh/cfiles/GCC_installs/gcc-4.1.1/gcc-4.1.1/missing makeinfo"; export MAKEINFO; AR=""; export AR; AS=""; export AS; CC="cc"; export CC; CFLAGS="-g"; export CFLAGS; CONFIG_SHELL="/bin/sh"; export CONFIG_SHELL; CXX="c++"; export CXX; CXXFLAGS=""; export CXXFLAGS; GCJ=""; export GCJ; GFORTRAN=""; export GFORTRAN; DLLTOOL=""; export DLLTOOL; LD=""; export LD; LDFLAGS=""; export LDFLAGS; NM=""; export NM; RANLIB=""; export RANLIB; WINDRES=""; export WINDRES; \ (cd build-sparc-sun-solaris2.10/fixincludes && \ make all) make: Fatal error: Command failed for target `all-build-fixincludes' $echo $PATH /usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/var/SUNWspro/WS6U2/bin my machine is: SunOS 5.10 Generic_118822-19 sun4u sparc SUNW,UltraSPARC-IIi-cEngine I have searched the mailing list and couldn't get an answer, also looked in whatever documentation i could find. Please pull me out of this. TIA, S