gcc 4.6.4 compilation error (xgcc)

Tomek Wlodarski tomek.wlodarski@gmail.com
Sun Jul 7 23:06:00 GMT 2013


Hi,

I am trying to install locally newer version of gcc (on the server)
I have updated gmp, mfpr and mpc
I use this for configuration (no errors)
./configure --prefix=$HOME/opt/gcc-4.6.4 --with-gmp=$HOME/opt/gmp
--with-mpfr=$HOME/opt/mpfr --with-mpc=$HOME/opt/mpc

and compilation gives me this error:

checking for suffix of object files... configure: error: in
`/home/users/didymos/src/gcc-4.6.4/build/powerpc64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/users/didymos/src/gcc-4.6.4/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/users/didymos/src/gcc-4.6.4/build'
make: *** [all] Error 2

in the config.log file I got:

xgcc: error: unrecognized option '-V'
xgcc: fatal error: no input files
xgcc: error: unrecognized option '-qversion'
xgcc: fatal error: no input files
/home/users/didymos/src/gcc-4.6.4/build/./gcc/cc1: error while loading
shared libraries: libmpc.so.3: cannot open shared object file: No such
file or directory
/home/users/didymos/src/gcc-4.6.4/build/./gcc/cc1: error while loading
shared libraries: libmpc.so.3: cannot open shared object file: No such
file or directory
configure:3286: error: in
`/home/users/didymos/src/gcc-4.6.4/build/powerpc64-unknown-linux-gnu/libgcc':
configure:3289: error: cannot compute suffix of object files: cannot compile

Any ideas?
Thanks!

Best,

tomek



More information about the Gcc-help mailing list