could help me to fix the problem when install the gcc-7.2

Chen tom tomcp85@hotmail.com
Tue Sep 26 08:09:00 GMT 2017


hello,

the following quotation is the problem,  when I did the 'configure', it  
comes out. The 'config.log' is in the attachment.

> tom@tom-Inspiron-7447:~/Downloads/gcc-7.2.0$ sudo ./configure 
> --prefix=/usr/local/gcc
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for a sed that does not truncate output... /bin/sed
> checking for gawk... gawk
> checking for libatomic support... yes
> checking for libcilkrts support... yes
> checking for libitm support... yes
> checking for libsanitizer support... yes
> checking for libvtv support... yes
> checking for libmpx support... yes
> checking for libhsail-rt support... yes
> checking for gcc... gcc
> checking for C compiler default output file name...
> configure: error: in `/home/tom/Downloads/gcc-7.2.0':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.

  Hope to hear from you!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 12233 bytes
Desc: config.log
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20170926/dbfd7469/attachment.bin>


More information about the Gcc-help mailing list