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 make[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]: Leaving 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: *** [profiledbootstrap] Error 2
At this time, the configuration is to set the speaking language to c, c++. as follows:
./configure –prefix=/usr/local/gcc-4.6.1 -enable-threads=posix -disable-checking -disable-multilib -enable-languages=c,c++
Read More:
- How to Solve Error: Type mismatch: cannot convert from Object to Car
- VScode: How to Solve golong plug-in install Error
- How to Solve Error: “initializer element is not constant”
- How to Solve Hyperf Failed to Start Error After Aliyun ACM Installed
- How to Solve Kotlin unresolved reference error
- How to Solve UE Shader develop error
- How to Solve Cocoapods Installation Failure
- How to Solve Jetpack room use error
- Android 10: How to Solve Systemui Error
- How to Solve QT Error: The build directory needs to be at the same level as the source directory.
- How to Solve Svn upload so File Error
- Kotlin: How to Solve kapt import error
- How to Solve Error while executing: am start -n
- How to Solve elasticsearch-7.15.1 operation errors
- How to Solve Logstash error: failed to execute action
- How to Solve Spark Writes Hudi Error
- How to Solve Error: Unsupported field: HourOfDay
- How to Solve Error: Cannot find the declaration of element ‘beans’.
- How to Solve Client-go Mod Error
- How to Solve spark Writes Files to odps Error