gcc 4.6.4 compilation error (xgcc)

Tomek Wlodarski tomek.wlodarski@gmail.com
Mon Jul 8 09:16:00 GMT 2013


Dear Jonathan,

I read this FAQ, that is why I looked also into config.log file:
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

Thanks

tomek

On Mon, Jul 8, 2013 at 12:03 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 7 July 2013 22:08, Tomek Wlodarski wrote:
>> 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.
>
> This is a FAQ: http://gcc.gnu.org/wiki/FAQ#configure_suffix
>
> Please read http://gcc.gnu.org/wiki/InstallingGCC



More information about the Gcc-help mailing list