I don't if this is a gcc or autoconf issue, but here it is: My system: SunOS 5.9 Generic_118558-05 sun4u sparc SUNW,Sun-Fire-280R Solaris My configure:env CC=cc ../configure --prefix=/scratch/src/gcc-4-test \ --enable-threads --with-cpu=ultrasparc --enable-shared \ --enable-languages=c,c++
When I run "make bootstrap" libcpp/configure exits with a "test: argument expected". A quick fix did it, when I compile with cc I can expect that $GCC is not defined. diff configure configure.DIST 2761,2763c2761 < # BM < if test "$GCC" = yes; then < # BM --- > if test $GCC = yes; then I have not found anything in libcpp/configure.ac so I am not sure if you are the right people to target. Beat -- Summary: libcpp/configure: unsafe test instruction Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zosh at ife dot ee dot ethz dot ch CC: gcc-bugs at gcc dot gnu dot org,zosh at ife dot ee dot ethz dot ch GCC build triplet: sparc-sun-solaris2.9 GCC host triplet: sparc-sun-solaris2.9 GCC target triplet: sparc-sun-solaris2.9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21263