This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.6.4 compilation error (xgcc)
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Tomek Wlodarski <tomek dot wlodarski at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 8 Jul 2013 00:08:38 +0100
- Subject: Re: gcc 4.6.4 compilation error (xgcc)
- References: <CANAOJCv==43DUo-vaWL03NZcFbv8Dhb3BhHtsBVxNmLGP29nbg at mail dot gmail dot com> <CAH6eHdRHRJaXT_S-er-y0LzHKWiDsW-tTcmj9-4xapuBzK-vhg at mail dot gmail dot com> <CANAOJCummNFMdEg6UhZo7s5OprK5uqCXUpjNQ5vReWCfKkO8Nw at mail dot gmail dot com>
On 8 July 2013 00:06, Tomek Wlodarski wrote:
> 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
The links I sent you explain the problem and how to solve it, please read them.
> 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