This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Configuring GCC 4.8.1, Unable to find a usable ISL
- From: Ivan Stalev <idstalev at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sat, 14 Jun 2014 17:09:51 -0400
- Subject: Re: Configuring GCC 4.8.1, Unable to find a usable ISL
- Authentication-results: sourceware.org; auth=none
- References: <CABeHOeer1jB+DKTxPJUfxNQR-4ehviYdnxBGsT=BTqMuY32fng at mail dot gmail dot com> <CAH6eHdTbF3YhzyRXiFzZZVvtXOviG44NOCvZBBB9RduPRqc4LA at mail dot gmail dot com> <CABeHOeesJs2A0zujBsKVUYr9Nf_HeSSrJ4zycJ3u69OG21-khQ at mail dot gmail dot com> <CAH6eHdS=NC0kwZKPM3QKXUApCnYC8Wk-y4tih2SJYOQcQH9HYw at mail dot gmail dot com>
Thank you for getting back to me.
I ran ./contrib/download_prerequisites as it states in the FAQ.
I then configured like this:
../gcc-4.8.1/configure --prefix=/home/mdl/ids103/gcc-4.8.1-install
--with-ld=/home/mdl/ids103/binutils-2.24-install/bin
--with-as=/home/mdl/ids103/binutils-2.24-install/bin
I used --prefix because I do not have sudo permissions to install in
default directory. I use --with-ld and --with-as because the default
installed versions are old and the software that I will be compiling
requires newer versions of the binutils.
Unfortunately, I still get the same error.
On Sat, Jun 14, 2014 at 4:12 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 14 June 2014 21:07, Ivan Stalev <idstalev@gmail.com> wrote:
>> Hi,
>>
>> Okay, now I configured like this:
>>
>> ../gcc-4.8.1/configure --prefix=/home/mdl/ids103/gcc-4.8.1-install
>> --enable-shared --enable-threads=posix --enable-__cxa_atexit
>> --enable-clocale=gnu --enable-lto --enable-languages=c,c++,fortran
>> --with-ld=/home/mdl/ids103/binutils-2.24-install/bin
>> --with-as=/home/mdl/ids103/binutils-2.24-install/bin
>> --disable-multilib --with-cloog=/home/mdl/ids103/install
>> --with-gmp=/home/mdl/ids103/install
>> --with-mpfr=/home/mdl/ids103/install
>> --with-mpc=/home/mdl/ids103/install
>>
>> I started the build, and 10 minutes into it, I get this error:
>>
>> checking for x86_64-unknown-linux-gnu-gcc...
>> /home/mdl/ids103/gcc-4.8.1-build/./gcc/xgcc
>> -B/home/mdl/ids103/gcc-4.8.1-build/./gcc/
>> -B/home/mdl/ids103/gcc-4.8.1-install/x86_64-unknown-linux-gnu/bin/
>> -B/home/mdl/ids103/gcc-4.8.1-install/x86_64-unknown-linux-gnu/lib/
>> -isystem /home/mdl/ids103/gcc-4.8.1-install/x86_64-unknown-linux-gnu/include
>> -isystem /home/mdl/ids103/gcc-4.8.1-install/x86_64-unknown-linux-gnu/sys-include
>> checking for suffix of object files... configure: error: in
>> `/home/mdl/ids103/gcc-4.8.1-build/x86_64-unknown-linux-gnu/libgcc':
>> configure: error: cannot compute suffix of object files: cannot compile
>
> Read the link I gave you. It links to the FAQ explaining this error:
> https://gcc.gnu.org/wiki/FAQ#configure_suffix
>
> And it also shows a much simpler way to build GCC that avoids this
> problem. Stop trying to do it the complicated way.