The shell script libjava/classpath/lib/gen-classlist.sh uses "test -e" which is not supported in a regular Solaris /bin/sh.
Work-around: - comment out lines 58 and 66 in gen-classlist.sh - substitute option -e with -f at line 98 in gen-classlist.sh -- Summary: unknown option -e for test command in gen-classlist.sh Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Andre dot Schneider at eas dot iis dot fraunhofer dot de GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 GCC target triplet: sparc-sun-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32045