i am trying to build gcc-3.4.4 on solaris -10..i am getting an error in the build stage csbu061 [toolsrd] 703: make build creating cache ./config.cache checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking build system type... sparc-sun-solaris2.10 checking for a BSD compatible install... /users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-3.4.4/install-sh -c *** This configuration is not supported in the following subdirectories: target-libf2c target-libobjc (Any other directories should still work fine.) checking for sparc-sun-solaris2.10-ar... no checking for ar... ar checking for sparc-sun-solaris2.10-as... no checking for as... as checking for sparc-sun-solaris2.10-dlltool... no checking for dlltool... dlltool checking for sparc-sun-solaris2.10-ld... /tools/openbin/binutils/2.16.1/sparc-sun-solaris8/bin/ld checking for sparc-sun-solaris2.10-nm... no checking for nm... nm checking for sparc-sun-solaris2.10-ranlib... no checking for ranlib... ranlib checking for sparc-sun-solaris2.10-windres... no checking for windres... windres checking for sparc-sun-solaris2.10-objcopy... no checking for objcopy... objcopy checking for sparc-sun-solaris2.10-objdump... no checking for objdump... objdump checking for sparc-sun-solaris2.10-ar... no checking for ar... ar checking for sparc-sun-solaris2.10-as... no checking for as... as checking for sparc-sun-solaris2.10-dlltool... no checking for dlltool... dlltool checking for sparc-sun-solaris2.10-ld... no checking for ld... ld checking for sparc-sun-solaris2.10-nm... no checking for nm... nm checking for sparc-sun-solaris2.10-ranlib... no checking for ranlib... ranlib checking for sparc-sun-solaris2.10-windres... no checking for windres... windres checking whether to enable maintainer-specific portions of Makefiles... no updating cache ./config.cache creating ./config.status creating Makefile sh: : not found *** Error code 1 dmake: Fatal error: Command failed for target `build-gcc' csbu061 [toolsrd] 704: ** i am using binutils-2.16.1 for assembler and linker and gcc-3.4.4 compiler build on solaris-8 for initial bootstrapping
Subject: gcc-3.4.4 build on solaris -10 failing > updating cache ./config.cache > creating ./config.status > creating Makefile > sh: : not found It looks like configure couldn't find an appropriate version of some tool so it set that variable to blank. But that's just a wild guess. You may want to look at the generated config.status and config.cache and sanity check them. Also look at config.log. You should first make sure that you have met all the prerequisites for building gcc, as detailed at <http://gcc.gnu.org/install/prerequisites.html>. However, gcc 3.4.x is old and has not been maintained for quite some time. PRs are for reporting things to be fixed, but since the 3.4 code has long been frozen there's no way for this to happen even if there was actually a bug. If you still experience the same problem with 4.2.x or 4.3.x then file a new PR, otherwise you're better off using the gcc-help mailing list for support as this is likely to be closed as INVALID.
Please follow the build instructions: http://gcc.gnu.org/install