Hello, Configuration script gcc-4.2.2/gcc/configure returns an error "/home/unix/gcc-4.2.2/gcc/configure[14029]: assembler: unknown test operator" when trying to determine assembler version
In binutils-2.18 as --version returns "GNU assembler (GNU Binutils) 2.18" (not "GNU assembler 2.18") In the configuration file gcc-4.2.2/gcc/configure there is a line: as_ver=`$gcc_cv_as --version 2>/dev/null | sed 1q` this line gives "GNU assembler (GNU Binutils) 2.18" as a value of $as_ver then line as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'` give the same string - "GNU assembler (GNU Binutils) 2.18" and after the line as_major=`echo $as_ver | sed 's/\..*//'` $as_major is equal to "GNU assembler (GNU Binutils) 2" as a result we have an error at line If test $as_major -eq 2 && test $as_minor -lt 11 Best regards. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yevgeniy Litvinenko ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~