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: Cannot compute suffix of object file - while building gcc 4.6.0


Thanks. The build is successful now. 


Jonathan Wakely-4 wrote:
> 
> On 6 June 2011 20:33, Syed Bilal Mehdi <bilal.mehdi87@gmail.com> wrote:
>>
>> I was trying to build gcc 4.6. Configure goes fine with the following
>> command:
>>
>> ./configure prefix=/scratch/local/Bilal/gcc/
>> --with-gmp=/scratch/local/Bilal/gmp --with-mpfr=/scratch/local/Bilal/mpfr
>> --with-mpc=/scratch/local/Bilal/mpc
> 
> Don't do that
> http://gcc.gnu.org/wiki/FAQ#configure
> 
>> but make fails with the following error:
>>
>> checking for suffix of object files... configure: error: in
>> `/scratch/local/Bilal/gccSource/i686-pc-linux-gnu/libgcc':
>> configure: error: cannot compute suffix of object files: cannot compile
>> See `config.log' for more details.
> 
> http://gcc.gnu.org/wiki/FAQ#configure_suffix
> 
>> /scratch/local/Bilal/gccSource2/host-i686-pc-linux-gnu/gcc/cc1: error
>> while
>> loading shared libraries: libmpc.so.2: cannot open shared object file: No
>> such file or directory
> 
> This is the problem, because you didn't read the documentation for
> --with-gmp and --with-mpc
> 
> See http://advogato.org/person/redi/diary/240.html
> 
> 

-- 
View this message in context: http://old.nabble.com/Cannot-compute-suffix-of-object-file---while-building-gcc-4.6.0-tp31786405p31790317.html
Sent from the gcc - Help mailing list archive at Nabble.com.


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