xgcc: error trying to exec 'cc1plus': execvp: No such file or directory

Segher Boessenkool segher@kernel.crashing.org
Sat Jan 26 23:49:00 GMT 2019


On Sat, Jan 26, 2019 at 08:57:58PM +0000, .uservorname .usernachname wrote:
>   $ ../gcc-7.4.0/configure --prefix=/opt/gcc-7.4.0 CC=/opt/gcc-4.6.0/bin/gcc CXX=/opt/gcc-4.6.0/bin/g++ -enable-languages=c,c++,go --disable-doc --disable-libstdcxx-pch --disable-linux-futex --disable-libsanitizer --disable-libcilkrts --disable-libitm CFLAGS=-Wl,--rpath=/usr/local/lib:/opt/gcc-4.6.0/lib:/opt/gcc-4.6.0/libexec/gcc/sparc-unknown-linux-gnu/4.6.0 CXXFLAGS=-Wl,--rpath=usr/local/lib:/opt/gcc-4.6.0/lib:/opt/gcc-4.6.0/libexec/gcc/sparc-unknown-linux-gnu/4.6.0

I doubt it is the problem here, but it's spelled --enable-languages=c,c++,go
(i.e. two dashes).


Segher



More information about the Gcc-help mailing list