This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.6.4 compilation error (xgcc)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]