g++4.6 compilation is an error:
Make PROFILEDBOOTSTRAP/VAR/TMP/GCC4/GCC-4.0.1/SPARC-SUN-SOLARIS2.8/GCC/GCJ-B/VAR/TMP/GCC4/GCC-4.0.1/ sparc-sun-solaris2.8/gcc/-b/tools/freeware/gcc4.0/sparc-sun-solaris2.8/bin/-B/tools/freeware/gcc4.0/ sparc-sun-solaris2.8/lib/-isystem/tools/freeware/gcc4.0/sparc-sun-solaris2.8/include-isystem/tools/freeware/ Gcc4.0/sparc-sun-solaris2.8/sys-include-g-o2-o. Libs/jv-convert--main=gnu.gcj.convert.convert-shared-libgcc-l/ Var/tmp/gcc4/gcc-4.0.1/sparc-sun-solaris2.8/sparc-sun-solaris2.8/libjava-l/var/tmp/gcc4/gcc-4.0.1/ Sparc-sun-solaris2.8/sparc-sun-solaris2.8/libjava/.libs./.libs/libgcj.so-l/var/tmp/gcc4/gcc-4.0.1/ sparc-sun-solaris2.8/sparc-sun-solaris2.8/libstdc++-v3/src-l/var/tmp/gcc4/gcc-4.0.1/sparc-sun-solaris2.8/ sparc-sun-solaris2.8/libstdc++-v3/src/.libs-lpthread-lrt-ldl-l/var/tmp/gcc4/gcc-4.0.1/sparc-sun-solaris2.8/gcc -l/tools/freeware/gcc4.0/sparc-sun-solaris2.8/bin-l/tools/freeware/gcc4.0/sparc-sun-solaris2.8/lib-l/usr/dt/ lib-l/usr/openwin/lib-l/usr/lib/x11-l/usr/ucblib-l/usr/atria/lib-l/tools/freeware/gcc4.0/lib-l/tools/freeware/lib-l/tools/sun5/ lib-l/tools/freeware/gcc4.0/lib/gcc/sparc-sun-solaris2.8/. /.. /.. /sparc-sun-solaris2.8/lib-l/usr/ccs/bin-l/usr/ccs/lib-l/tools/freeware/gcc4.0/lib/gcc/sparc-sun-solaris2.8/. /.. -LGCC_S-LGCC_S-WL,--rpath-wl,/tools/freeware/gcc4.0/lib/tools/freeware/gcc4.0/bin/ld:unrecognized option '-Wl,- Rpath '/tools/freeware/gcc4.0/bin/ld:use the--HELP option for usage information Collect2:ld returned 1 exit status m AKE[3]: * * * [Jv-convert] Error 1 make[3]: Leaving directory '/var/tmp/gcc4/gcc-4.0.1/sparc-sun-solaris2.8/ Sparc-sun-solaris2.8/libjava ' make[2]: * * [all-recursive] Error 1 rm gnu/gcj/tools/gcj_dbtool/main.class make[2]: Leav ing directory '/var/tmp/gcc4/gcc-4.0.1/sparc-sun-solaris2.8/sparc-sun-solaris2.8/libjava ' make[1]: * * * [ All-target-libjava] Error 2 make[1]: Leaving directory '/var/tmp/gcc4/gcc-4.0.1/sparc-sun-solaris2.8 ' make: * * * [profil EdbOotstrap] Error 2
At this point, the configuration is speaking language set to c,c++. As follows:
./configure--prefix=/usr/local/gcc-4.6.1-enable-threads=posix-disable-checking-disable-multilib- Enable-languages=c,c++
[Jv-convert] Error 1,[all-recursive] Error 1