hello all,
I am building gcc-4.2.2 on solaris 10 and the build is
failing ...
*SYSTEM DETAILS*
SunOS csbu061 5.10 Generic_118833-24 sun4u sparc SUNW,A70
*MY MAKEFILE DETAILS*
#-------------------- configure --------------------
$(CONFIGURED)-$(TOOL_NAME): $(DECOMPRESSED)-$(TOOL_NAME)
$(SILENT)cd $(BUILD_DIR); \
PATH=$(GMP_DIR)/bin:$(GCC_DIR)/bin:${PATH}; export PATH ; \
LD_LIBRARY_PATH=$(GCC_DIR)/lib:$(GMP_DIR)/lib:${LD_LIBRARY_PATH};export
LD_LIBRARY_PATH && \
CC=$(HOST_CC) CXX=$(HOST_CXX) MAKE=$(GMAKE)
CFlAGS=$(GMP_DIR)/include \
$(SRC_DIR)/configure \
--prefix=$(DEST_DIR) \
--disable-nls \
--enable-shared \
--enable-threads=posix \
--with-ld=/usr/ccs/bin/ld \
--with-as=/usr/ccs/bin/as \
--enable-languages=c,c++,java
$(SILENT)touch $@
#-------------------- build --------------------
$(BUILD)-$(TOOL_NAME): $(CONFIGURED)-$(TOOL_NAME)
$(SILENT)cd $(BUILD_DIR); \
PATH=$(GMP_DIR)/bin:$(GCC_DIR)/bin:${PATH}; export PATH; \
LD_LIBRARY_PATH=$(GCC_DIR)/lib:$(GMP_DIR)/lib:${LD_LIBRARY_PATH}
; export LD_LIBRARY_PATH && \
$(GMAKE) CC=$(HOST_CC) CXX=$(HOST_CXX) CFLAGS=$(GMP_DIR)/include
$(SILENT)touch $@
*** configure is going on well but the build is failing with the
following message...i am using gcc compiler --gcc version 2.95.1
19990816 (release)
*
checking where to find the target windres... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... no
updating cache ./config.cache
creating ./config.status
*creating Makefile
sh: : not found -----> if possible please give me some hint
*** Error code 1*
dmake: Fatal error: Command failed for target `build-gcc'